摘要:
!important >style(行间)>id>class>类型>默认 阅读全文
摘要:
1 <!DOCTYPE html> 2 <html> 3 <head> 4 <meta charset="utf-8"> 5 <title></title> 6 <script src="js/DD_belatedPNG_0.0.8a.js"></script> 7 <script> 8 DD_be 阅读全文
摘要:
1 <!DOCTYPE html> 2 <html> 3 <head> 4 <meta charset="utf-8"> 5 <title></title> 6 <style> 7 div{ 8 width: 200px; 9 height: 200px; 10 background-color: 阅读全文
摘要:
.box input{background:url(img/1.jpg) fixed} <body> <div class="box"> <input type="text" >图片加入fixed就行 </div> </body> 背景图片就会固定不动. 阅读全文
摘要:
1 <!DOCTYPE html> 2 <html> 3 <head> 4 <meta charset="utf-8"> 5 <title></title> 6 <style> 7 .box{ 8 width: 200px; 9 border: 1px solid #000000; 10 backg 阅读全文
摘要:
1 <!DOCTYPE html> 2 <html> 3 <head> 4 <meta charset="utf-8"> 5 <title></title> 6 <style> 7 .box{ 8 width: 200px; 9 height: 200px; 10 border: 1px solid 阅读全文
摘要:
1 <!DOCTYPE html> 2 <html> 3 <head> 4 <meta charset="utf-8"> 5 <title></title> 6 <style> 7 .box{ 8 width: 308px; 9 height: 308px; 10 background-color: 阅读全文
摘要:
1 <!DOCTYPE html> 2 <html> 3 <head> 4 <meta charset="utf-8"> 5 <title></title> 6 <style> 7 .box{ 8 width: 200px; 9 height: 200px; 10 background-color: 阅读全文
摘要:
1 <!DOCTYPE html> 2 <html> 3 <head> 4 <meta charset="utf-8"> 5 <title></title> 6 <style> 7 .wrap{ 8 width: 400px; 9 } 10 .left{ 11 float: left; 12 } 1 阅读全文
摘要:
1 <!DOCTYPE html> 2 <html> 3 <head> 4 <meta charset="utf-8"> 5 <title></title> 6 <style> 7 .list{ 8 margin: 0; 9 padding: 0; 10 list-style: none; 11 w 阅读全文
摘要:
1 <!DOCTYPE html> 2 <html> 3 <head> 4 <meta charset="utf-8"> 5 <title></title> 6 <style> 7 body{ 8 margin: 0; 9 } 10 .box{ 11 width: 750px; 12 border: 阅读全文
摘要:
1 <!DOCTYPE html> 2 <html> 3 <head> 4 <meta charset="utf-8"> 5 <title></title> 6 <style> 7 div{ 8 height: 1px; 9 background-color: red; 10 overflow: h 阅读全文
摘要:
1 <!DOCTYPE html> 2 <html> 3 <head> 4 <meta charset="utf-8"> 5 <title></title> 6 <style> 7 div{ 8 width: 100px; 9 height: 100px; 10 background-color: 阅读全文
摘要:
1 <!DOCTYPE html> 2 <html> 3 <head> 4 <meta charset="utf-8"> 5 <title></title> 6 <style> 7 .box{ 8 background-color: green; 9 overflow: hidden; <margi 阅读全文
摘要:
1 <!DOCTYPE html> 2 <html> 3 <head> 4 <meta charset="utf-8"> 5 <title></title> 6 <style> 7 .box{ 8 width: 200px; 9 height: 200px; 10 border: 10px soli 阅读全文
摘要:
1 <!DOCTYPE html> 2 <html> 3 <head> 4 <meta charset="utf-8"> 5 <title></title> 6 <style> 7 body{ 8 margin: 0; 9 } 10 .box{ 11 width: 500px; 12 } 13 .l 阅读全文
摘要:
1 <!DOCTYPE html> 2 <html> 3 <head> 4 <meta charset="utf-8"> 5 <title></title> 6 <style> 7 .box{ 8 width: 400px; 9 border: 1px solid black; 10 overflo 阅读全文
摘要:
1 <!DOCTYPE html> 2 <html> 3 <head> 4 <meta charset="utf-8"> 5 <title></title> 6 <script src="js/html5shiv.js"></script>《直接加入script引用js文件来解决html5的兼容问题 阅读全文