Difference between revisions of "Team:Korea U Seoul/template/contents slider"
Line 4: | Line 4: | ||
<style> | <style> | ||
− | .slider{padding:5px 100px; width: | + | .slider{padding:5px 100px; width: 100%; height: 552px; position: relative;} |
− | .slider > img { width: | + | .slider > img { width: 100%; height: 452px;} |
.slider_navi{position: absolute; bottom: 30px; left: 110px;} | .slider_navi{position: absolute; bottom: 30px; left: 110px;} | ||
.slider_navi > span {background-color: #242424; margin: 10px; cursor: pointer; padding: 5px 7px; color: #FFFFFF;} | .slider_navi > span {background-color: #242424; margin: 10px; cursor: pointer; padding: 5px 7px; color: #FFFFFF;} | ||
Line 25: | Line 25: | ||
<script> | <script> | ||
var slider = $(".slider"); | var slider = $(".slider"); | ||
− | slider.width( | + | slider.width(953); |
− | slider.height( | + | slider.height(472); |
var slider_navi = $(".slider_navi"); | var slider_navi = $(".slider_navi"); | ||
var imgs = slider.children("img"); | var imgs = slider.children("img"); |
Revision as of 18:18, 18 September 2015