.video-wrap {position:relative; padding-bottom:56.25%; padding-top:30px; height:0; overflow:hidden;} .video-wrap iframe, .video-wrap object, .video-wrap embed {position:absolute; top:0; left:0; width:100%; height:100%;} *참고 https://code-study.tistory.com/35 유튜브(Youtube) 영상 비율에 맞게 (반응형 사이즈)로 가져오기 유튜브(Youtube) 영상 비율에 맞게 (반응형 사이즈)로 가져오기 (YouTube videos in responsive size) 웹페이지 또는 개인 블로그 내에 Youtube영..
dl dt dd를 display: table 시 아이폰에서 레이아웃 깨짐 dl{ display: table; table-layout: fixed; max-width: none; width: auto; min-width: 100%; } dt, dd{ display: table-cell; } https://github.com/filamentgroup/tablesaw/issues/58 CSS table-layout: fixed; isn't working with iOS Safari · Issue #58 · filamentgroup/tablesaw CSS table-layout: fixed; isn't working with iOS Safari. It works with latest Chrome and Fire..
*HTML AAA BBB AAA contents BBB contents *jQuery $(document).ready(function(e){ var link = window.location.href; var day_link = link.split('?'); var control_tab = day_link[1]; if(control_tab == 'AAA'){ $('.sub-tab-menu > li').removeClass('on').eq(0).addClass('on'); $('.sub-tab-con').hide().eq(0).show(); } else if(control_tab == 'BBB'){ $('.sub-tab-menu > li').removeClass('on').eq(1).addClass('on'..
CSS .fixed{ position: fixed; left: 0; bottom: 0; z-index: 2; width: 100%; background-color: #fff; padding-bottom: 0; } jQuery $(document).ready(function(){ if(wWidth $(document).height() - top){ $('.sponsor-banner, #footer').removeClass(..