Heim >Web-Frontend >HTML-Tutorial >页面根据不同宽度自适应不同样式_html/css_WEB-ITnose

页面根据不同宽度自适应不同样式_html/css_WEB-ITnose

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOriginal
2016-06-21 09:15:551112Durchsuche

@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的样式,多个样式直接跟着写即可			}

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

Stellungnahme:
Der Inhalt dieses Artikels wird freiwillig von Internetnutzern beigesteuert und das Urheberrecht liegt beim ursprünglichen Autor. Diese Website übernimmt keine entsprechende rechtliche Verantwortung. Wenn Sie Inhalte finden, bei denen der Verdacht eines Plagiats oder einer Rechtsverletzung besteht, wenden Sie sich bitte an admin@php.cn