跨域安全问题
> Font from origin 'http://www.imooc.com' has been blocked from loading by Cross-Origin Resource Sharing policy: No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'null' is therefore not allowed access.
> Font from origin 'http://www.imooc.com' has been blocked from loading by Cross-Origin Resource Sharing policy: No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'null' is therefore not allowed access.
2014-12-16
这有点厉害的赶脚,我做Web开发这么久竟然没写出来。惭愧啊!下面贴出完整代码,请先思考,再看下面代码
/*制作导航分隔线效果*/
.nav li::before,
.nav li::after{
content:"";
position:absolute;
top:14px;
height: 25px;
width: 1px;
}
/*制作导航分隔线效果*/
.nav li::before,
.nav li::after{
content:"";
position:absolute;
top:14px;
height: 25px;
width: 1px;
}
2014-12-13
text-shadow:x-offset y-offset blur color
x:水平偏移距离
y:垂直偏移距离
blur:模糊距离,不能为负值
color:模糊色
x:水平偏移距离
y:垂直偏移距离
blur:模糊距离,不能为负值
color:模糊色
2014-12-13