html - Slider images with dynamic width and height -
i want incorporate rotating slider website in order have occupy whole screen on different devices mobile/desktop needs have width:100%
makes image not visible. i'm using code library http://demo.tutorialzine.com/2010/11/rotating-slideshow-jquery-css3/ , i've setup demo on http://jsfiddle.net/9mmzf7wh/1/
i've tried setting width:auto
, width:100%
i made quite few changes, gist of absolute positioning of #slideshow
, removal of bunch of margin and/or padding statements had in place.
#slideshowcontainer { background: pink; overflow: auto; padding-bottom: 70%; height: 0; position: relative; } #slideshow { top: 0; bottom: 0; left: 0; right: 0; position:absolute; background-color:#fff; z-index:100; -moz-box-shadow:0 0 10px #111; -webkit-box-shadow:0 0 10px #111; box-shadow:0 0 10px #111; z-index: 1; } #slideshow ul { list-style:none; overflow:hidden; }
Comments
Post a Comment