<!DOCTYPE html><html lang="en"><head> <meta charset="UTF-8"> <title>Document</title> <style type="text/css"> body{ background: black; font:40px/200px ...
分类:
其他好文 时间:
2016-06-17 16:54:15
阅读次数:
171
<!DOCTYPE html><html lang="en"><head> <meta charset="UTF-8"> <title>分享</title> <style type="text/css"> .div{ width: 150px; height: 150px; background-c ...
分类:
编程语言 时间:
2016-06-17 00:27:33
阅读次数:
256
<!--通过style属性直接添加-->
<divstyle="width:100px"id="div"></div>
<!--通过class添加-->
<styletype="text/css">
.abc{width:100px;}
</style><divclass="abc"id="div2"></div>
<scripttype="text/javascript">
/..
分类:
Web程序 时间:
2016-06-16 18:28:00
阅读次数:
886
利用css3功能强大,我们可以直接完成旋转动画的制作,而跳过复杂的javascript。html代码如下:demo01.html<!DCTYPEhtml>
<head>
<metatype="utf-8"/>
<title>旋转动画</title>
<linkrel="stylesheet"type="text/css"href="demo01.css">
<..
分类:
Web程序 时间:
2016-06-16 11:47:28
阅读次数:
248
1,css是层叠样式表(Cascading Style Sheets)的缩写,它用于定义html元素的显示形式2,行内样式 <p style="color:red">hello word</p> 内部样式 写在head内 <style type="text/css"> p{ color:red; } ...
分类:
Web程序 时间:
2016-06-15 22:14:22
阅读次数:
190
<html > <head runat="server"> <title></title> <style type="text/css"> #SiteStat { width: 97px; height: 181px; } </style></head><body> <from> <script l ...
分类:
其他好文 时间:
2016-06-15 15:44:21
阅读次数:
210
<link href="//static.bacic5i5j.com/cdn/lib/bootstrap/3.3.5/css/bootstrap.css" rel="stylesheet" type="text/css"> <link href="//static.bacic5i5j.com/cdn ...
分类:
其他好文 时间:
2016-06-15 01:42:51
阅读次数:
253
2.2 范例1:CSS3过渡(transitions)效果 <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <title>Title</title> <style type="text/css"> a { color: # ...
分类:
Web程序 时间:
2016-06-14 11:30:19
阅读次数:
178
资源文件都是放在根目录下 1、index.html <html> <head> <title>My test Page</title> <link rel="stylesheet" href = "test.css" type="text/css"/> <script type = "text/ja ...
分类:
Web程序 时间:
2016-06-12 12:24:37
阅读次数:
230
<!doctype html> <html> <head> <meta charset="utf-8"> <title>事件</title> <link href="css.css" rel="stylesheet" type="text/css"/> </head> <body> <div id= ...
分类:
Web程序 时间:
2016-06-12 12:12:53
阅读次数:
615