Start Coding
All
Accordion
Buttons
Cards
Carousel
Css Animation
Hexagons
Hover
Layout
Loaders
Menu
Navigation
Slider
Tables
Wave
All
/* Just to centralise elements */ .holder { position:absolute; top:50%; left:50%; margin-top:-50px; margin-top:-50px; } .bubbleholder{ position:relative; overflow:hidden; } .bubble { width:105px; height:105px; position:relative; overflow:hidden; background:#000; -webkit-transition: .2s all ease-out; -moz-transition: .2s all ease-out; transition: .2s all ease-out; -webkit-transform: rotate(45deg); -moz-transform: rotate(45deg); -ms-transform: rotate(45deg); -o-transform: rotate(45deg); transform: rotate(45deg); cursor:pointer; } .bubble:hover { -webkit-transform: rotate(90deg); }
20
Hexagon to Square
By:
pixeldev
Cool Css Button Border Animation On Hover
Cool Css Button Border Animation On Hover - CSS3 Hover Effects - Pure CSS
Button
/* common css */ body { margin: 0; padding: 0; background: #262626; } h2 {color: #fff; text-align: center;} /* button hover amazing effect */ a { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); text-transform: uppercase; text-decoration: none; text-align: center; /* line-height: 2; */ color: #ff0; font-size: 30px; font-family: verdana; letter-spacing: 4px; /* use combination of any two */ /* 1. */ /* padding: 5px; */ /* 2. */ padding-left: 5px; /* padding-right: 5px; */ } a::before, a::after, span::before, span::after { content: ''; position: absolute; width: 8px; height: 8px; background: transparent; transition: 1s; /* -webkit-mix-blend-mode: hue; */ } a::before { top: -2px; left: -2px; border-top: 2px solid #ff0; border-left: 2px solid #ff0; } a::after { top: -2px; right: -2px; border-top: 2px solid #ff0; border-right: 2px solid #ff0; } span::before { bottom: -2px; left: -2px; border-bottom: 2px solid #ff0; border-left: 2px solid #ff0; } span::after { bottom: -2px; right: -2px; border-bottom: 2px solid #ff0; border-right: 2px solid #ff0; } a:hover::before, a:hover::after, a:hover span::before, a:hover span::after { width: calc( 180px / 2); height: calc( 50px / 2); }
19
Cool Css Button Border Animation On Hover – CSS3 Hover Effects – Pure CSS
By:
pixeldev
1
2
3
4
html, body { height: 100%; margin: 0px; } .slider-container { background: linear-gradient( 149deg, rgb(247, 0, 255) 0%, rgb(255, 145, 0) 100% ); display: flex; align-items: center; justify-content: center; height: 100%; } .slider { width: 100%; max-width: 600px; height: 400px; margin: 20px; text-align: center; border-radius: 20px; overflow: hidden; position: relative; } .slides { display: flex; overflow-x: scroll; position: relative; scroll-behavior: smooth; scroll-snap-type: x mandatory; } .slide:nth-of-type(even) { background-color: rgb(250, 246, 212); } .slide { display: flex; justify-content: center; align-items: center; flex-shrink: 0; width: 100%; height: 400px; scroll-snap-align: center; margin-right: 0px; box-sizing: border-box; background: white; transform-origin: center center; transform: scale(1); } .slide__text { font-size: 40px; font-weight: bold; font-family: sans-serif; } .slide a { background: none; border: none; } a.slide__prev, .slider::before { transform: rotate(135deg); -webkit-transform: rotate(135deg); left: 5%; } a.slide__next, .slider::after { transform: rotate(-45deg); -webkit-transform: rotate(-45deg); right: 5%; } .slider::before, .slider::after, .slide__prev, .slide__next { position: absolute; top: 48%; width: 35px; height: 35px; border: solid black; border-width: 0 4px 4px 0; padding: 3px; box-sizing: border-box; } .slider::before, .slider::after { content: ""; z-index: 1; background: none; pointer-events: none; } .slider__nav { box-sizing: border-box; position: absolute; bottom: 5%; left: 50%; width: 200px; margin-left: -100px; text-align: center; } .slider__navlink { display: inline-block; height: 15px; width: 15px; border-radius: 50%; background-color: black; margin: 0 10px 0 10px; } .read-article{ position: absolute; top: 10px; left: 10px; z-index: 999; color: #000; background: white; padding: 10px 20px; border-radius: 10px; font-family: arial; text-decoration: none; box-shadow: rgb(50 50 93 / 25%) 0 0 100px -20px, rgb(0 0 0 / 30%) 0 0 60px -15px; } .read-article:hover{ background: #d5d5d5; box-shadow: rgb(50 50 93 / 25%) 0 0 100px -20px, rgb(0 0 0 / 30%) 0 0 60px 0px; } iframe[sandbox] .read-article{ display: none; }
19
Pure CSS Slider – fullPage blog
By:
pixeldev
Party
Mood
Ambient
Work
World
Party
Mood
Ambient
Work
World
This is a continue scroll carousel
body{ font-family: sans-serif; } h1{ font-weight: 100; } .container{ width: 100%; display:block; overflow:hidden; } .carousel{ display:block; width: 100%; height: 400px; background: white; overflow-x: scroll; padding: 10px; margin: 0; white-space: nowrap; border-top: 2px solid rgba(0, 0, 0, 0.1); border-bottom: 2px solid rgba(0, 0, 0, 0.1); } .item { display: inline-block; width: 380px; margin: 0 10px; height: 380px; background: rgba(0, 0, 0, 0.05) no-repeat center center; background-size: cover; position:relative; border-radius: 20px; box-shadow: 0 0 10px #dfdfdf; } .item div{ width: 100%; top:10%; position:absolute; text-align:center; font-size: 9em; color: white; } .item h1{ top: 50%; position: absolute; color: white; text-align: center; width: 100%; font-size: 4em; } #party{ background-image: url(https://images.unsplash.com/photo-1575426158929-59962325660a?ixlib=rb-1.2.1&ixid=eyJhcHBfaWQiOjEyMDd9&auto=format&fit=crop&w=500&q=60); } #mood{ background-image:url(https://images.unsplash.com/photo-1535295972055-1c762f4483e5?ixlib=rb-1.2.1&ixid=eyJhcHBfaWQiOjEyMDd9&auto=format&fit=crop&w=934&q=80); } #world{ background-image: url(https://images.unsplash.com/photo-1535402803947-a950d5f7ae4b?ixlib=rb-1.2.1&ixid=eyJhcHBfaWQiOjEyMDd9&auto=format&fit=crop&w=1427&q=80); } #ambient{ background-image:url(https://images.unsplash.com/photo-1513836279014-a89f7a76ae86?ixlib=rb-1.2.1&ixid=eyJhcHBfaWQiOjEyMDd9&auto=format&fit=crop&w=500&q=60) } #work{ background-image:url(https://images.unsplash.com/photo-1535957998253-26ae1ef29506?ixlib=rb-1.2.1&ixid=eyJhcHBfaWQiOjEyMDd9&auto=format&fit=crop&w=500&q=60) }
19
Pure CSS Horizontal Scroll Carousel
By:
pixeldev
Item 1
Sub item 1
Sub item 2
Sub item 3
Sub item 4
Item 2
Sub item 5
Sub item 6
Sub item 7
Sub item 8
Item 3
Sub item 9
Sub item 10
Sub item 11
Sub item 12
Item 4
Sub item 13
Sub item 14
Sub item 15
Sub item 16
.nav { background: #007; display: block; height: 36px; width: 100%; } .nav > li { display: inline-block; position: relative; } .nav > li > ul { background: #777; display: none; height: auto; position: absolute; top: 36px; width: 200%; } .nav > li:hover > ul { display: block; } .nav > li li { display: block; } a { color: #fff; display: block; padding: 10px 15px; text-decoration: none; } a:hover { background: #A00; }
18
Pure CSS Nav Menu challenge
By:
pixeldev
/* 3D Slideshow */ * { margin: 0; padding: 0; } html, body { max-width: 100%; overflow-x: hidden; overflow-y: hidden; background-color: #6adecd; } #slideshow { margin: 0 auto; padding-top: 50px; height: 600px; width: 100%; background-color: #6adecd; box-sizing: border-box; } .slideshow-title { font-family: 'Allerta Stencil'; font-size: 62px; color: #fff; margin: 0 auto; text-align: center; margin-top: 25%; letter-spacing: 3px; font-weight: 300; } .sub-heading { padding-top: 50px; font-size: 18px; } .sub-heading-two { font-size: 15px; } .sub-heading-three { font-size: 13px; } .sub-heading-four { font-size: 11px; } .sub-heading-five { font-size: 9px; } .sub-heading-six { font-size: 7px; } .sub-heading-seven { font-size: 5px; } .sub-heading-eight { font-size: 3px; } .sub-heading-nine { font-size: 1px; } .entire-content { margin: auto; width: 190px; perspective: 1000px; position: relative; padding-top: 80px; } .content-carrousel { width: 100%; position: absolute; float: right; animation: rotar 15s infinite linear; transform-style: preserve-3d; } .content-carrousel:hover { animation-play-state: paused; cursor: pointer; } .content-carrousel figure { width: 100%; height: 120px; border: 1px solid #3b444b; overflow: hidden; position: absolute; } .content-carrousel figure:nth-child(1) { transform: rotateY(0deg) translateZ(300px); } .content-carrousel figure:nth-child(2) { transform: rotateY(40deg) translateZ(300px); } .content-carrousel figure:nth-child(3) { transform: rotateY(80deg) translateZ(300px); } .content-carrousel figure:nth-child(4) { transform: rotateY(120deg) translateZ(300px); } .content-carrousel figure:nth-child(5) { transform: rotateY(160deg) translateZ(300px); } .content-carrousel figure:nth-child(6) { transform: rotateY(200deg) translateZ(300px); } .content-carrousel figure:nth-child(7) { transform: rotateY(240deg) translateZ(300px); } .content-carrousel figure:nth-child(8) { transform: rotateY(280deg) translateZ(300px); } .content-carrousel figure:nth-child(9) { transform: rotateY(320deg) translateZ(300px); } .content-carrousel figure:nth-child(10) { transform: rotateY(360deg) translateZ(300px); } .shadow { position: absolute; box-shadow: 0px 0px 20px 0px #000; border-radius: 1px; } .content-carrousel img { image-rendering: auto; transition: all 300ms; width: 100%; height: 100%; } .content-carrousel img:hover { transform: scale(1.2); transition: all 300ms; } @keyframes rotar { from { transform: rotateY(0deg); } to { transform: rotateY(360deg); } }
18
3D Slider | Pure CSS
By:
pixeldev
Button
.container { width: 20%; min-width: 180px; margin: 0 auto; } a { display: block; color: white; text-transform: uppercase; text-decoration: none; font-family: sans-serif; width: 78%; position: relative; z-index: 10; background: lightblue; margin: 10px 11%; } a:hover { background: #87C0D3; } span { display: block; padding: 8px 30px; position: relative; z-index: 10; background: inherit; text-align: center; } a::before, a::after, span::before, span::after { content: ""; display: block; position: absolute; width: 90%; height: 50%; background: inherit; z-index: -1; background-clip: padding-box; border-color: #eee; border-style: solid; border-width: 0; } a::before { top: -10px; left: 15%; -webkit-transform: skew(45deg); -moz-transform: skew(45deg); -ms-transform: skew(45deg); -o-transform: skew(45deg); transform: skew(45deg); border-top-width: 10px; border-right-width: 12px; } a::after { top: -10px; right: 15%; -webkit-transform: skew(-45deg); -moz-transform: skew(-45deg); -ms-transform: skew(-45deg); -o-transform: skew(-45deg); transform: skew(-45deg); border-top-width: 10px; border-left-width: 12px; } span::before { top: 50%; left: 15%; -webkit-transform: skew(-45deg); -moz-transform: skew(-45deg); -ms-transform: skew(-45deg); -o-transform: skew(-45deg); transform: skew(-45deg); border-bottom-width: 10px; border-right-width: 12px; } span::after { top: 50%; right: 15%; -webkit-transform: skew(45deg); -moz-transform: skew(45deg); -ms-transform: skew(45deg); -o-transform: skew(45deg); transform: skew(45deg); border-bottom-width: 10px; border-left-width: 12px; }
18
Hexagon button with pure CSS
By:
pixeldev
Lorem ipsum dolor sit amet, consectetur adipiscing elit.
20.02.2019
Learn More
Lorem ipsum dolor sit amet, consectetur adipiscing elit.
20.02.2019
Learn More
/* BEGIN CARD DESIGN */ .hero { display: inline-block; position: relative; width: 400px; min-width: 400px; height: 400px; border-radius: 30px; overflow:hidden; box-shadow: 5px 5px 30px rgba(0, 0, 0, 0.3); margin: 30px; } .hero-profile-img { height: 70%; } .hero-description-bk { background-image: linear-gradient(0deg , #3f5efb, #fc466b); border-radius: 30px; position: absolute; top: 55%; left: -5px; height: 65%; width: 108%; transform: skew(19deg, -9deg); } .second .hero-description-bk { background-image: linear-gradient(-20deg , #bb7413, #e7d25c) } .hero-logo { height: 80px; width: 80px; border-radius: 20px; background-color: #fff; position: absolute; bottom: 30%; left: 30px; overflow:hidden; box-shadow: 5px 5px 30px rgba(0, 0, 0, 0.7); } .hero-logo img { height: 100%; } .hero-description { position: absolute; color: #fff; font-weight: 900; left: 150px; bottom: 26%; } .hero-btn { position: absolute; color: #fff; right: 30px; bottom: 10%; padding: 10px 20px; border: 1px solid #fff; } .hero-btn a { color: #fff; } .hero-date { position: absolute; color: #fff; left: 30px; bottom: 10%; } /* END CARD DESIGN */ body { font-family: 'Open Sans', sans-serif; margin: 0; background-color: #eee; min-height: 100vh; } .btn i:before { width: 14px; height: 14px; position: fixed; color: #fff; background: #0077B5; padding: 10px; border-radius: 50%; top:5px; right:5px; }
18
Modern css cards design
By:
pixeldev
@keyframes slides { from { transform: translateX(0); } to { transform: translateX(-100%); } } .logos { overflow: hidden; padding: 30px 0px; white-space: nowrap; position: relative; } .logos:before, .logos:after { position: absolute; top: 0; content: ''; width: 250px; height: 100%; z-index: 2; } .logos:before { left: 0; background: linear-gradient(to left, rgba(255,255,255,0), rgb(255, 255, 255)); } .logos:after { right: 0; background: linear-gradient(to right, rgba(255,255,255,0), rgb(255, 255, 255)); } .logo_items { display: inline-block; animation: 35s slides infinite linear; } .logos:hover .logo_items { animation-play-state: paused; } .logo_items img{ height: 100px; }
18
infinite logo carousel with pure CSS
By:
pixeldev
Button
body { margin: 0; padding: 0; /* background: #262626;*/ font-family: verdana; box-sizing: border-box; } a { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); text-decoration: none; text-transform: uppercase; background: #262626; width: 150px; height: 60px; line-height: 60px; color: #FFF; padding: 0px 10px; letter-spacing: 5px; text-align: center; font-size: 20px; transition: 0.5; overflow: hidden; } a:before { content: ''; position: absolute; bottom: 0; left: 0; width: 0; height: 0; /* background: #F00;*/ z-index: -1; transition: 1s; border-style: solid; border-color: #F00; border-width: 80px 100px; transform: rotate(360deg); transform-origin: top left } a:hover:before { border-color: #00F; transform: rotate(40deg) } a:hover { color: #ff0; transition: 0.5s; transition-delay: 0.3s; }
18
Button Hover Effect
By:
pixeldev
First
First Back
Second
Second Back
Third
Third Back
body { display: flex; justify-content: center; align-items: center; min-height: 100vh; } .flip-boxes { justify-content: center; } .flip-box { display: flex; align-content: stretch; min-height: 200px; flex-wrap: wrap; position: relative; border: 10px solid transparent; padding: 0; border-top: 0; perspective: 1000px; } .flip-box:hover .back { transform: rotateY(0deg); z-index: 10; } .flip-box:hover .front { transform: rotateY(180deg); z-index: -1; } .flip-box .back, .flip-box .front { position: relative; background-color: #1b2d61; color: white; display: flex; justify-content: center; align-content: center; flex: 0 0 100%; transition: all 1s cubic-bezier(0.5, 1.3, 0.5, 1.3); transform-style: preserve-3d; background-size: cover; background-position: center; } .flip-box .back { background-color: #cecece; position: absolute; left: 0; top: 0; bottom: 0; width: 100%; z-index: -1; transform: rotateY(-180deg); } .flip-box .back::after { content: ""; position: absolute; bottom: 0; left: 0; width: 30px; height: 30px; border: 15px solid transparent; border-bottom-color: white; border-left-color: white; } .flip-box .front { z-index: 10; } .flip-box .front .content { font-size: 2rem; } .flip-box .front::after { content: ""; position: absolute; bottom: 0; right: 0; width: 30px; height: 30px; border: 15px solid #cecece; border-bottom-color: white; border-right-color: white; } .flip-box .content { display: flex; justify-content: center; align-items: center; flex-direction: column; transform: translateZ(50px); text-shadow: 0px 0px 2px black; }
17
3D Flip Cards Pure CSS and HTML
By:
pixeldev
CSS Button Hover Effect
I'm a button
I'm a button
I'm a button
I'm a button
I'm a button
.container { margin: 0 auto; width: 100%; text-align: center; font-size: 0; font-family: Arial, Helvetica, sans-serif; font-weight: 400; background: #ffffff; } h2.title { position: relative; margin-bottom: 15px; padding-bottom: 15px; font-size: 30px; color: #222222; } h2.title::after { position: absolute; content: ""; width: 50px; height: 3px; left: calc(50% - 25px); bottom: 0; background: #222222; } p { position: relative; margin: 15px auto; font-size: 16px; color: #222222; } .btn { position: relative; display: inline-block; margin: 15px; padding: 12px 27px; text-align: center; font-size: 16px; letter-spacing: 1px; text-decoration: none; color: #999999; background: #ffffff; border: 3px solid #999999; cursor: pointer; transition: ease-out 0.5s; -webkit-transition: ease-out 0.5s; -moz-transition: ease-out 0.5s; } .btn.btn-border-1::after, .btn.btn-border-1::before { position: absolute; content: ""; width: 0%; height: 0%; visibility: hidden; } .btn.btn-border-1::after { bottom: -3px; right: -3px; border-left: 3px solid #222222; border-bottom: 3px solid #222222; transition: width .1s ease .1s, height .1s ease, visibility 0s .2s; } .btn.btn-border-1::before { top: -3px; left: -3px; border-top: 3px solid #222222; border-right: 3px solid #222222; transition: width .1s ease .3s, height .1s ease .2s, visibility 0s .4s; } .btn.btn-border-1:hover { animation: pulse 1s ease-out .4s; color: #222222; } .btn.btn-border-1:hover::after, .btn.btn-border-1:hover::before { width: calc(100% + 3px); height: calc(100% + 3px); visibility: visible; transition: width .1s ease .2s, height .1s ease .3s, visibility 0s .2s; } .btn.btn-border-1:hover::after { transition: width .1s ease .2s, height .1s ease .3s, visibility 0s .2s; } .btn.btn-border-1:hover::before { transition: width .1s ease, height .1s ease .1s; } .btn.btn-border-2::after, .btn.btn-border-2::before { position: absolute; content: ""; width: 0; height: 0; transition: .5s; } .btn.btn-border-2::after { top: -3px; left: -3px; border-top: 3px solid transparent; border-left: 3px solid transparent; } .btn.btn-border-2::before { bottom: -3px; right: -3px; border-bottom: 3px solid transparent; border-right: 3px solid transparent; } .btn.btn-border-2:hover { color: #222222; } .btn.btn-border-2:hover::after, .btn.btn-border-2:hover::before { width: calc(50% + 3px); height: calc(50% + 3px); border-color: #222222; } .btn.btn-border-3::after, .btn.btn-border-3::before { position: absolute; content: ""; width: 0; height: 0; transition: .5s; } .btn.btn-border-3::after { top: -9px; left: -9px; border-top: 3px solid transparent; border-left: 3px solid transparent; } .btn.btn-border-3::before { bottom: -9px; right: -9px; border-bottom: 3px solid transparent; border-right: 3px solid transparent; } .btn.btn-border-3:hover { color: #222222; } .btn.btn-border-3:hover::after, .btn.btn-border-3:hover::before { width: 30px; height: 30px; border-color: #222222; } .btn.btn-border-4::after, .btn.btn-border-4::before { position: absolute; content: ""; width: 0; height: 0; transition: .5s; } .btn.btn-border-4::after { top: -9px; left: -9px; border-top: 3px solid transparent; border-left: 3px solid transparent; } .btn.btn-border-4::before { bottom: -9px; right: -9px; border-bottom: 3px solid transparent; border-right: 3px solid transparent; } .btn.btn-border-4:hover { color: #222222; } .btn.btn-border-4:hover::after, .btn.btn-border-4:hover::before { width: calc(100% + 15px); height: calc(100% + 15px); border-color: #222222; } .btn.btn-border-5::after, .btn.btn-border-5::before { position: absolute; content: ""; width: 0; height: 0; transition: .5s; } .btn.btn-border-5::after { top: 0; left: 0; border-top: 3px solid transparent; } .btn.btn-border-5::before { bottom: 0; right: 0; border-bottom: 3px solid transparent; } .btn.btn-border-5:hover { color: #222222; } .btn.btn-border-5:hover::after, .btn.btn-border-5:hover::before { width: 100%; height: 100%; border-color: #222222; }
17
CSS Buttons Hover Effects
By:
pixeldev
Previous
1
…
7
8
9
10
11
…
18
Next