随笔分类 - css3
摘要:1,边框 border div { border:2px #ccc solid; } 2,圆角border-radius div { border-radius:25px; } 你在 border-radius 属性中只指定一个值,那么将生成 4 个 圆角。 但是,如果你要在四个角上一一指定,可以使
阅读全文
摘要:<style>p:before{content:"www.96net.com.cn:";} p:after{content:"www.96net.com.cn:";}</style> <p>我是唐老鸭。</p><p>我住在 Duckburg。</p> <p><b>注释:</b>对于在 IE8 中工作
阅读全文
摘要:<!DOCTYPE html><html><head><style>p { font-size: 16px; line-height: 2em;} div { font-size: 30px; border: 1px solid black;} span { font-size: 0.5em;}</
阅读全文
摘要:<!DOCTYPE html><html lang="en"><head> <meta charset="UTF-8"> <title>Title</title> <style type="text/css"> .box{ position: relative; } .small{ position
阅读全文
摘要:<!DOCTYPE html><html lang="en"><head> <meta charset="UTF-8"> <title>Title</title> <style> div{ background: #ff6666; min-width: 200px; /* max-width: 20
阅读全文
摘要:css3中height 超出继续显示 与max-height一样 <style> div{ background: #ff6666; width: 200px; max-height: 100px; }</style> <body> <div> 这个是经典的故事 这个是经典的故事 这个是经典的故事
阅读全文
摘要:属性简介 columns CSS3 columns 属性,是复合属性,设置或检索对象的列数和每列的宽度。 column-width CSS3 column-width 属性,设置或检索对象每列的宽度 column-count CSS3 column-count 属性,设置或检索对象的列数 colum
阅读全文