The effect has been achieved, but for fixed width, if I want to use 100% definition, the picture cannot be displayed. _html/css_WEB-ITnose

WBOY
Release: 2016-06-24 12:16:08
Original
1188 people have browsed it

Style name in css: .homepage-slider-item: 1900px; I want to make it adaptive: 100%
But the photo cannot be displayed.
See http://download.csdn.net/detail/chxpsy/4681834 for the style


Reply to discussion (solution)

Add min-width

Adding min-width
is useless. Let me add the solution I want to change: a fixed 960px wide picture in the middle, and the left and right sides are part of the adjacent pictures 120px wide, that is, the carousel takes up a total of 1200px. For widescreen use background autofill.
Do you want to change js? Please tell me how to change it! feel!

Posted, no one answered. Change other styles yourself.

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