发表于: 2018-09-04 22:52:46
1 753
今天完成的事情:今天任务八做的不多,效率有点低:
明天计划的事情:明天继续做任务八
遇到的问题:导航的hover做的时候由于多了2px的border老是抖一下 ,解决办法:再本身就加2px的border,hover时改变他的颜色即可。
psd图是1920.总觉得自己的媒体查询写的有问题:
/* 媒体查询 */
html {
font-size: 625%;
}
@media only screen and (min-width: 768px){
html {
font-size: 250% !important;
}
}
@media only screen and (min-width: 992px){
html {
font-size:323% !important;
}
}
@media only screen and (min-width: 1200px){
html {
font-size: 390.6% !important;
}
}
暂时还未解决。
收获:今天一直再写页面,对于各种常见布局有了一些了解。比如圣杯布局:两边定宽,中间自适应。
评论