分享一个无图3D效果CSS圆角
以下是代码,可以另存为 .html 格式查看效果。
HTML code:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>3D效果CSS圆角|www.abaonet.com|</title>
<style type="text/css">
*{
margin:0;
padding:0;
}
.box{
width:400px;
margin:20px auto;
}
h1{
font-size:24px;
color:#fff;
padding:20px;
text-align:center;
}
b{
display:block;
overflow:hidden;
height:1px;
background:#96C2F1;
border-width:0 1px;
border-style:solid;
}
.b1{
margin:0 5px;
background:#fff;
border:none;
}
.b2{
border-right:#eee;
}
.b3{
border-right:#ddd;
}
.b4{
border-right:#aaa;
}
.b4b{
border-left:#eee;
}
.b3b{
border-left:#ddd;
}
.b2b{
border-left:#aaa;
}
.b2,.b3,.b4{
border-left-color:#fff;
}
.b4b,.b3b,.b2b{
border-right-color:#999;
}
.b2,.b2b{
margin:0 3px;
border-width:0 2px;
}
.b3,.b3b{
margin:0 2px;
}
.b4,.b4b{
height:2px; margin:0 1px;
}
.b1b{
m
相关问答:
美工在IE6下做的html页,里面用到了CSS样式
我在IE7下用visual studio 2008做aspx页,利用了上面的页面布局,我只是在vs.net下写代码
现在页面在IE7下能正常运行,可是在IE6里就显示不成样子,看那样子是引用不了 ......
请问一下 用一个DIV 可以做到这样的效果吗 ?
不知这个算不算一个DIV?
HTML code:
<style type="text/css">
.demo {
border: 1px solid #8fb9d1;
......
<div style ="width:538px; height:150px; border:solid 1px gray; padding:10px;">
<div style =" width:230px; height:150px; float ......
请问为什么火狐很多时候都会变形呢
比方这个.proc { width:680px; height:auto; float:left; clear:both;}
在IE里面如果有的图片是 700px的宽,那么会自动的缩小
可是在火狐里面 就自动放大了,width ......
如题!
浏览器读取div的时候是读取一部分显示一部分,不像table需要一次性编译完毕然后显示出来!
路过,学习
学习
css好像跟速度没啥关系吧?css必须得用到就拿的。
什么东西的搜索速度?
搜索引擎 ......