详细论述 Portal 的样式单 --- Portal.css
(2014-01-10 21:11:46)
标签:
potal
css
it
Portal层,在这里面只定义一些基础类型的信息,例如:body,ul,ol,li,p,h1,h2,h3,h4,h5,h6,
form,label,dl,dt,dd,fieldset...
portal.css命名规范: 以基础系统方式命名,例如:
@charset "utf-8";
body,ul,ol,li,p,h1,h2,h3,h4,h5,h6,form,label,dl,dt,dd,fieldset,img
{margin:0;padding:0;border:0;list-style:none}
table,th,td{margin:0;padding:0;}
body,fieldset,th,td,select,input,textarea
{font-size:12px;font-family:Verdana, "宋体", sans-serif}
select,input {vertical-align:middle}
cite,em {font-style:normal}
a {text-decoration:none}
a:hover {text-decoration:underline}
input[type=button],
input[type=reset],
input[type=submit],
input[type=radio],
input[type=checkbox] {cursor:pointer}
label {cursor:pointer;}
.hidden {display:none}
.wordwrap {word-wrap:break-word;word-break:break-all; }
.clearit{ clear: both; height:0px; overflow:hidden}
这些将是所有页面和组件的展示基础,是一个平台的基调,因此,命名都是基础命名,内容是一些通用的,和网站、内容无关的一些基础内容。
分享:
喜欢
0
赠金笔
加载中,请稍候......
评论加载中,请稍候...
发评论
登录名: 密码: 找回密码 注册记住登录状态
昵 称:
评论并转载此博文
发评论
以上网友发言只代表其个人观点,不代表新浪网的观点或立场。