Coding Studying/CSS
-
Slider CSSCoding Studying/CSS 2022. 7. 6. 07:51
옆으로 이동하면서 정보를 변경하는 css설정하기 article{ position: absolute; top:0; left:0; width:100%; height:100%; opacity:0; transition:all 0.3 linear;} article.activeSlide{ opacity:1; trasform:traslateX(0) } article.lastSlide { transform: translateX(-100%); } article.nextSlide { transform: translateX(100%); }
-
animationCoding Studying/CSS 2022. 5. 26. 21:03
animation @keyframes div{ width:100px; height:100px; bacground:red; animation-name:example; animation-duration:4s; } @keyframes example { from {background-color: red;} to {background-color: yellow;} } In the example above we have specified when the style will change by using the keywords "from" and "to" (which represents 0% (start) and 100% (complete)). @keyframes example { 0% {background-color:..
-
overflowCoding Studying/CSS 2022. 5. 26. 20:26
화면에 크기에 따라서 요소를 보이거나 사라지게 만들수 있다. 화면이 작을 경우 이렇게 바가 보이지만 화면이 커지면 바가 사라지는 것을 확인할수 있다. .links-container{ height:0; overflow:hidden; transition: all 0.3s linear; } 2022.05.26 - [Coding Studying/JavaScript] - Fixed-navbar / pageYoffset Fixed-navbar / pageYoffset Even if i scroll down and up, i want to see the navbar. then I can set the navbat to be fixed. // pageYOffset is a read - only window proper..