原來and與(之間也必須有空格
@media screen and( max-width:600px){
figure{ width: 100%;}
}
@media screen and ( max-width:600px){
figure{ width: 100%;}
}
@media screen and( max-width:600px){
figure{ width: 100%;}
}
@media screen and ( max-width:600px){
figure{ width: 100%;}
}
2015-08-28
我的代碼鏈接:https://github.com/Adorabletanzi/css3/tree/master/photoShow_v1.0
希望大家多多指正~~~嘿嘿
希望大家多多指正~~~嘿嘿
2015-08-28
@media screnn and(min-width:601px) and (max-windth:600px){width:100%}
@media screen and (max-width:1000px){figure{width:50%}}
@media screen and (min-width:1001px){figure{width:33.33%}}
@media screen and (max-width:1000px){figure{width:50%}}
@media screen and (min-width:1001px){figure{width:33.33%}}
2015-08-27
transform屬性:
1、translate(水平)-- transform:translate(10px,10px);
2、rotate(旋轉(zhuǎn))-- transform:rotate(90deg);
3、scale(縮放)-- transform:scale(0.5,,0.5);
4、skew(縮放)-- transform:skew(50deg,,0deg);
時間: 2天前
1、translate(水平)-- transform:translate(10px,10px);
2、rotate(旋轉(zhuǎn))-- transform:rotate(90deg);
3、scale(縮放)-- transform:scale(0.5,,0.5);
4、skew(縮放)-- transform:skew(50deg,,0deg);
時間: 2天前
2015-08-27
這個還需要做瀏覽器兼容,也就是那個-webkit-巴拉巴拉的,所以還是要用個scss文件統(tǒng)一寫一下比較方便,要不然太多的瀏覽器兼容寫的好累。分享一個跟著老師學(xué)完和帶后面作業(yè)的鏈接: http://pan.baidu.com/s/1c0c2gDE 密碼: jcw4
2015-08-27