This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const $slide_wrapper = $('.slide_') | |
if ($slide_wrapper.length) { | |
$slide_wrapper.each(function (idx) { | |
const areaSlide = this | |
const slide = areaSlide.querySelector('.swiper') | |
const prevEl = areaSlide.querySelector('.btn_prev') | |
const nextEl = areaSlide.querySelector('.btn_next') | |
const pause = areaSlide.querySelector('.pause') | |
const play = areaSlide.querySelector('.play') | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<style> | |
:root{ | |
--none: linear(0, 1); | |
--power1-in: linear( 0, 0.0039, 0.0156, 0.0352, 0.0625, 0.0977, 0.1407, 0.1914, 0.2499, 0.3164, 0.3906 62.5%, 0.5625, 0.7656, 1 ); | |
--power1-out: linear( 0, 0.2342, 0.4374, 0.6093 37.49%, 0.6835, 0.7499, 0.8086, 0.8593, 0.9023, 0.9375, 0.9648, 0.9844, 0.9961, 1 ); | |
--power1-in-out: linear( 0, 0.0027, 0.0106 7.29%, 0.0425, 0.0957, 0.1701 29.16%, 0.2477, 0.3401 41.23%, 0.5982 55.18%, 0.7044 61.56%, 0.7987, 0.875 75%, 0.9297, 0.9687, 0.9922, 1 ); | |
--power2-in: linear( 0, 0.0014 11.11%, 0.0071 19.24%, 0.0188 26.6%, 0.037 33.33%, 0.0634 39.87%, 0.0978 46.07%, 0.1407 52.02%, 0.1925 57.74%, 0.2559 63.49%, 0.3295 69.07%, 0.4135 74.5%, 0.5083 79.81%, 0.6141 85%, 0.7312 90.09%, 1 ); | |
--power2-out: linear( 0, 0.2688 9.91%, 0.3859 15%, 0.4917 20.19%, 0.5865 25.5%, 0.6705 30.93%, 0.7441 36.51%, 0.8075 42.26%, 0.8593 47.98%, 0.9022 53.93%, 0.9366 60.13%, 0.963 66.67%, 0.9812 73.4%, 0.9929 80.76%, 0.9986 88.89%, 1 ); | |
--power2-in-out: linear( 0, 0.0036 9.62%, 0.0 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.counterUp=t():e.counterUp=t()}(self,(function(){return(()=>{"use strict";var e={d:(t,n)=>{for(var o in n)e.o(n,o)&&!e.o(t,o)&&Object.defineProperty(t,o,{enumerable:!0,get:n[o]})},o:(e,t)=>Object.prototype.hasOwnProperty.call(e,t),r:e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})}},t={};e.r(t),e.d(t,{default:()=>n,divideNumbers:()=>r});const n=(e,t={})=>{const{action:n="start",duration:i=1e3,delay:u=16}=t;if("stop"===n)return void o(e);if(o(e),!/[0-9]/.test(e.innerHTML))return;const l=r(e.innerHTML,{duration:i||e.getAttribute("data-duration"),delay:u||e.getAttribute("data-delay")});e._countUpOrigInnerHTML=e.innerHTML,e.innerHTML=l[0]||" ",e.style.visibility="visible";const c=function(){e.innerHTML=l.shift()||" ",l.length?(c |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const counterUp = window.counterUp.default; | |
const counterCallback = (entries) => { | |
entries.forEach((entry) => { | |
if (entry.isIntersecting) { | |
counterUp(entry.target, { | |
duration: 1000, | |
delay: 16, | |
}); | |
observer.unobserve(entry.target); // ν λ² μ€ν ν κ΄μ°° μ€μ§ | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.tbl td:hover{background-color: #28ae76} | |
.tbl td:has(~td:hover){color:#fff;background-color: #127d51} /* μ’μΈ‘ td */ | |
.tbl:has(td:nth-of-type(1):hover) tr:has(~ tr:hover) td:nth-of-type(1){color:#fff;background-color: #127d51} /* μ»¬λΌ */ν |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
let lastScrollTop = 0; | |
const delta = 20; | |
let didScroll = null; | |
$(window).scroll(function () { | |
if (!didScroll) { | |
didScroll = setTimeout(function () { | |
hasScrolled(); | |
didScroll = null; | |
}, 250); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@keyframes topBtnAni { | |
0% {opacity: .5;transform: translate(-50%, -50%) scale(.8)} | |
100% {opacity: 0;transform: translate(-50%, -50%) scale(1.2)} | |
} | |
.footer .btn_top{ | |
--circle-color: #000; /* μ μμ */ | |
--arrow-color: #fff; /* νμ΄ν μμ */ | |
--outer-circle-opacity: .3; /* λ°κΉ₯μͺ½ μ ν¬λͺ λ */ | |
--circle-gap: 0px; /* λ°κΉ₯μͺ½ μκ³Ό μμͺ½ μ μ¬μ΄ κ°κ²© */ | |
--circle-gap-pc: 20px; /* λ°κΉ₯μͺ½ μκ³Ό μμͺ½ μ μ¬μ΄ κ°κ²©(PC) */ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div class="file_comm"> | |
<input type="text" class="inp_comm" readonly> | |
<input type="file" id="inpFile"> | |
<label for="inpFile" class="btn btn5">File 1</label> | |
</div> | |
<div class="file_comm"> | |
<input type="text" class="inp_comm" readonly> | |
<input type="file" id="inpFile2"> | |
<label for="inpFile2" class="btn btn5">File 2</label> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* νλ©΄μ΄ μ€μ΄λ€ λ νΉμ μμκ° λΉμ¨μ λ§κ² ν¨κ» μ€μΌμΌμ΄ μ€μ΄λ€λλ‘ μ²λ¦¬νλ κΈ°λ₯ | |
* μ΄λ―Έμ§ νκ·Έμ²λΌ λΉμ¨λλ‘ μ€μ΄λ€κΈ°κ° μ΄λ €μ΄ μμμ μ μ©νκΈ° μ©μ΄ν¨(ex. ν μ΄λΈλ‘ μμ±λ μμλ€) | |
* @param {String} scaleTarget - μ€μΌμΌμ΄ μ μ©λ μμ | |
* @param {String} container - μ€μΌμΌμ΄ μ μ©λ μμλ₯Ό κ°μΈκ³ μλ 컨ν μ΄λ μμ | |
* @param {Number} breakpoint - μ€μΌμΌμ΄ μ μ©λκΈ° μμνλ λΈλΌμ°μ μ°½ λλΉ | |
* @param {Number} targetOriginWidth - μ€μΌμΌμ΄ μ μ©λ μμμ μλ λλΉ | |
*/ | |
function adjustZoom(scaleTarget, container, breakpoint, targetOriginWidth) { | |
var screenWidth = $(window).width(); |
NewerOlder