已采纳回答 / chengiar
<...图片...>画一个圆你就明白了。假设这个圆的半径是50px,spread-radius为5px,blur-radius为5px。如果没有blur-radius,那么阴影部分就是宽度为5px的一个圆环,外径55px,内径50px。再加上blur-radius的话...
2015-08-22
/*outline和border类似*/
outline: red solid 22px ;
/*outline-offset属性表示偏移距离,需要单独设置*/
outline-offset:10px;
outline: red solid 22px ;
/*outline-offset属性表示偏移距离,需要单独设置*/
outline-offset:10px;
2015-08-22
background:url(http://static.mukewang.com/static/img/logo_index.png) no-repeat left top /75% 60%,
url(http://static.mukewang.com/static/img/logo_index.png) no-repeat bottom right/50% 38%;
}
url(http://static.mukewang.com/static/img/logo_index.png) no-repeat bottom right/50% 38%;
}
2015-08-21
CORS 头缺少 'Access-Control-Allow-Origin'),本地编辑器无法实现这个。。。。
2015-08-21
/*下面的代码意思是:当屏幕窗口宽度在480px以内的时候,样式做如下的定义*/
@media (max-width: 480px) {
.wrapper {
min-width: 320px;
width: 98%;
margin-left: 1%;
margin-right: 1%;
}
.left {
float: none;
width: 100%;
}
.content{
float: none;
width: 100%;
}
}
@media (max-width: 480px) {
.wrapper {
min-width: 320px;
width: 98%;
margin-left: 1%;
margin-right: 1%;
}
.left {
float: none;
width: 100%;
}
.content{
float: none;
width: 100%;
}
}
2015-08-21
可以说Responsive设计离开了Medial Queries就失去了他生存的意义。
简单的说媒体查询Medial Queries可以根据设备的尺寸,查询出适配的样式。
Responsive设计最关注的就是:根据用户的使用设备的当前宽度,你的Web页面将加载一个备用的样式,实现特定的页面风格。
简单的说媒体查询Medial Queries可以根据设备的尺寸,查询出适配的样式。
Responsive设计最关注的就是:根据用户的使用设备的当前宽度,你的Web页面将加载一个备用的样式,实现特定的页面风格。
2015-08-21