1 <html> 2 <head> 3 <style type="text/css"> 4 .p1 5 { 6 color:yellow; 7 background-color:#00F; 8 font-size:14px; 9 } 10 </style> 11 </head> 12 <body>
分类:
其他好文 时间:
2016-02-21 17:08:08
阅读次数:
225
1 <!DOCTYPE html> 2 <html> 3 <head> 4 <meta charset="UTF-8"> 5 <title>Insert title here</title> 6 <style type="text/css" > 7 p{ 8 color:blue; 9 } 10 #
分类:
其他好文 时间:
2016-02-20 20:15:59
阅读次数:
212
<!DOCTYPE html> <html lang="zh-cn"> <head> <meta charset="utf-8" /> <title></title> </head> <body> <style type="text/css"> .xmkc { width: 600px; margi
分类:
其他好文 时间:
2016-02-20 17:19:52
阅读次数:
188
1 <!DOCTYPE html> 2 <html> 3 <head> 4 <meta charset="UTF-8"> 5 <title>Insert title here</title> 6 <style type="text/css" > 7 p{ 8 color:blue; 9 } 10 <
分类:
Web程序 时间:
2016-02-20 12:00:53
阅读次数:
160
刚开始写html真的不太适应,比想象中的难。这回的网页虽然做的挺简陋不过确实能写出想要的效果,而且已经熟悉了套路。下面记录一些用法。 CSS: 导入css <link rel="stylesheet" type="text/css" href="E:\pyFiles\html\console\win
分类:
其他好文 时间:
2016-02-20 11:54:04
阅读次数:
169
CSScss.doyoe.comCascadingStyleSheets在标签中使用style=‘xx:xxx;‘在页面中嵌入<styletype="text/css"></style>块引入外部css文件<linkrel="stylesheet"type="text/css"href="mystyle.css"/>1.标签选择器divaspan….2.id选择器#idname3.class选择器.clas..
分类:
编程语言 时间:
2016-02-20 10:33:45
阅读次数:
231
需求要求: 1.子容器相对父容器垂直居中 2,子容器与父容器的自身高度都是自适应的 解决方案一(table-cell+vertical-align) <style type="text/css"> body{margin:20px;} .parent{width:4em;height:500px;}
分类:
其他好文 时间:
2016-02-18 22:50:14
阅读次数:
221
需求要求: 1.子容器相对父容器水平居中 2,子容器与父容器的自身宽度都是自适应的 解决方案一(inline-block+text-align) <style type="text/css"> body{margin:20px;} .parent{ text-align: center; } .ch
分类:
其他好文 时间:
2016-02-18 22:47:16
阅读次数:
287
<!DOCTYPE html> <html lang="zh-CN"> <head> <meta charset="utf-8"> <title>Html5 - 小猫咪</title> <link rel="stylesheet" type="text/css" href="css/common/r
分类:
Web程序 时间:
2016-02-18 18:06:11
阅读次数:
339
html5新的拖拽 只支持Internet Explorer 9、Firefox、Opera 12、Chrome 以及 Safari 5 支持拖放。 来一个实例: <!DOCTYPE html> <html> <head> <style type="text/css"> table td{ widt
分类:
Web程序 时间:
2016-02-17 22:32:36
阅读次数:
239