Home > Web Front-end > HTML Tutorial > 导航栏自适应_html/css_WEB-ITnose

导航栏自适应_html/css_WEB-ITnose

WBOY
Release: 2016-06-24 11:25:25
Original
1495 people have browsed it

让导航栏的宽度随着浏览器的宽度变化而变化达到自适应


回复讨论(解决方案)

是不是加个width=100%就可以了,你想要达到响应式布局吗?

是不是加个width=100%就可以了,你想要达到响应式布局吗?


就是加了width=100%还不行

是不是加个width=100%就可以了,你想要达到响应式布局吗?


对的,响应式布局

代码贴出来啊


是不是加个width=100%就可以了,你想要达到响应式布局吗?


对的,响应式布局
响应式布局还要使用媒体查询的,改变屏幕宽度时候改变css样式
Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template