您好,欢迎来到哈瑞养生。
搜索
您的当前位置:首页页面根据不同宽度自适应不同样式_html/css

页面根据不同宽度自适应不同样式_html/css

来源:哈瑞养生


@media screen and (min-width:768px) and (max-width:991px){	.content{height:680px}.box{top:320px}	}@media screen and (min-width:992px) and (max-width:1199px){	//你想change的样式,多个样式直接跟着写即可	}@media screen and (min-width:1200px){	//你想change的样式,多个样式直接跟着写即可	}

这是常用的几个分辨率的样式。记录下

Copyright © 2019- harx.cn 版权所有

违法及侵权请联系:TEL:199 18 7713 E-MAIL:2724546146@qq.com

本站由北京市万商天勤律师事务所王兴未律师提供法律服务