목록programming (14)
I AM EVERYTHING
$(document).on('click','a',function(event){ event.preventDefault(); $("html,body").animate({ scrollTop : $(this.hash).offset().top },400) });
// fullpage scroll $(".section").each(function () { // 개별적으로 Wheel 이벤트 적용 $(this).on("mousewheel DOMMouseScroll", function (e) { e.preventDefault(); var delta = 0; if (!event) event = window.event; if (event.wheelDelta) { delta = event.wheelDelta / 120; if (window.opera) delta = -delta; } else if (event.detail) delta = -event.detail / 3; var moveTop = null; if (delta < 0) { if ($(this).next() !=..
.background{height: 0; padding-top: 66.6%; background: url('../images/background.jpg') no-repeat center center; background-size: contain} padding-top의 값은높이/폭*100ex) 500/750*100=66.6%
::-webkit-input-placeholder {/* 크롬 4–56 */color: #bdbdbd;}:-moz-placeholder {/* 파이어폭스 4–18 */color: #bdbdbd;}::-moz-placeholder {/* 파이어폭스 19–50 */color: #bdbdbd;}:-ms-input-placeholder {/* 인터넷 익스플로러 10+ */color: #bdbdbd;}::placeholder {/* 파이어폭스 51+, 크롬 57+ */color: #bdbdbd;}