Flexbox Dna Helix by Joe Ski

Developer
Size
4,041 Kb
Views
40,480

How do I make an flexbox dna helix by joe ski?

Dna Helix by Joe Ski made with slip + stylus. What is a flexbox dna helix by joe ski? How do you make a flexbox dna helix by joe ski? This script and codes were developed by KyleDavidE on 14 June 2022, Tuesday.

Flexbox Dna Helix by Joe Ski Previews

Flexbox Dna Helix by Joe Ski - Script Codes HTML Codes

<!DOCTYPE html>
<html >
<head> <meta charset="UTF-8"> <title>flexbox Dna Helix by Joe Ski </title> <link rel='stylesheet prefetch' href='https://fonts.googleapis.com/css?family=Open+Sans:700'> <style> /* NOTE: The styles were added inline because Prefixfree needs access to your styles and they must be inlined if they are on local disk! */ body { background: #aadff7; display: flex; flex-direction: column; margin: 0; min-height: 100vh; overflow: hidden; align-items: center; justify-content: space-between;
}
.dna { display: flex; flex-direction: column;
}
.bar { height: 20px; width: 500px; margin: 40px 0; background: #fff; display: flex; flex-direction: row; align-items: center; justify-content: space-between; animation: spin 5s infinite linear; transform-style: preserve-3d;
}
.bar:after,
.bar:before { content: ''; margin: -40px; display: block; width: 80px; height: 80px; border-radius: 50%; background: #34495d; animation: spin 5s infinite linear reverse;
}
.bar:after { background: #18b6a7;
}
.bar:nth-child(1),
.bar:nth-child(1):after,
.bar:nth-child(1):before { animation-delay: -0.357142857142857s;
}
.bar:nth-child(2),
.bar:nth-child(2):after,
.bar:nth-child(2):before { animation-delay: -0.714285714285714s;
}
.bar:nth-child(3),
.bar:nth-child(3):after,
.bar:nth-child(3):before { animation-delay: -1.071428571428571s;
}
.bar:nth-child(4),
.bar:nth-child(4):after,
.bar:nth-child(4):before { animation-delay: -1.428571428571429s;
}
.bar:nth-child(5),
.bar:nth-child(5):after,
.bar:nth-child(5):before { animation-delay: -1.785714285714286s;
}
.bar:nth-child(6),
.bar:nth-child(6):after,
.bar:nth-child(6):before { animation-delay: -2.142857142857143s;
}
.bar:nth-child(7),
.bar:nth-child(7):after,
.bar:nth-child(7):before { animation-delay: -2.5s;
}
.bar:nth-child(8),
.bar:nth-child(8):after,
.bar:nth-child(8):before { animation-delay: -2.857142857142857s;
}
.attr { font-family: 'Open Sans', sans-serif; font-size: 20px; font-weight: 700; margin-bottom: 5px; color: #34495d;
}
.attr a { color: #18b6a7;
}
.attr a:not(:hover) { text-decoration: none;
}
@-moz-keyframes spin { 0% { transform: rotateY(0deg) translateZ(40px); } 25% { transform: rotateY(90deg) translateZ(40px); } 50% { transform: rotateY(180deg) translateZ(40px); } 75% { transform: rotateY(270deg) translateZ(40px); } 100% { transform: rotateY(360deg) translateZ(40px); }
}
@-webkit-keyframes spin { 0% { transform: rotateY(0deg) translateZ(40px); } 25% { transform: rotateY(90deg) translateZ(40px); } 50% { transform: rotateY(180deg) translateZ(40px); } 75% { transform: rotateY(270deg) translateZ(40px); } 100% { transform: rotateY(360deg) translateZ(40px); }
}
@-o-keyframes spin { 0% { transform: rotateY(0deg) translateZ(40px); } 25% { transform: rotateY(90deg) translateZ(40px); } 50% { transform: rotateY(180deg) translateZ(40px); } 75% { transform: rotateY(270deg) translateZ(40px); } 100% { transform: rotateY(360deg) translateZ(40px); }
}
@keyframes spin { 0% { transform: rotateY(0deg) translateZ(40px); } 25% { transform: rotateY(90deg) translateZ(40px); } 50% { transform: rotateY(180deg) translateZ(40px); } 75% { transform: rotateY(270deg) translateZ(40px); } 100% { transform: rotateY(360deg) translateZ(40px); }
} </style> <script src="https://cdnjs.cloudflare.com/ajax/libs/prefixfree/1.0.7/prefixfree.min.js"></script>
</head>
<body> <span></span>
<div class="dna"> <div class="bar"></div> <div class="bar"></div> <div class="bar"></div> <div class="bar"></div> <div class="bar"></div> <div class="bar"></div> <div class="bar"></div> <div class="bar"></div>
</div>
<div class="attr"> Based on <a href="https://dribbble.com/shots/2742019-Dna-Helix-c4d-source-attached">Dna helix</a> by Joe Ski
</div>
</body>
</html>

Flexbox Dna Helix by Joe Ski - Script Codes CSS Codes

body { background: #aadff7; display: flex; flex-direction: column; margin: 0; min-height: 100vh; overflow: hidden; align-items: center; justify-content: space-between;
}
.dna { display: flex; flex-direction: column;
}
.bar { height: 20px; width: 500px; margin: 40px 0; background: #fff; display: flex; flex-direction: row; align-items: center; justify-content: space-between; animation: spin 5s infinite linear; transform-style: preserve-3d;
}
.bar:after,
.bar:before { content: ''; margin: -40px; display: block; width: 80px; height: 80px; border-radius: 50%; background: #34495d; animation: spin 5s infinite linear reverse;
}
.bar:after { background: #18b6a7;
}
.bar:nth-child(1),
.bar:nth-child(1):after,
.bar:nth-child(1):before { animation-delay: -0.357142857142857s;
}
.bar:nth-child(2),
.bar:nth-child(2):after,
.bar:nth-child(2):before { animation-delay: -0.714285714285714s;
}
.bar:nth-child(3),
.bar:nth-child(3):after,
.bar:nth-child(3):before { animation-delay: -1.071428571428571s;
}
.bar:nth-child(4),
.bar:nth-child(4):after,
.bar:nth-child(4):before { animation-delay: -1.428571428571429s;
}
.bar:nth-child(5),
.bar:nth-child(5):after,
.bar:nth-child(5):before { animation-delay: -1.785714285714286s;
}
.bar:nth-child(6),
.bar:nth-child(6):after,
.bar:nth-child(6):before { animation-delay: -2.142857142857143s;
}
.bar:nth-child(7),
.bar:nth-child(7):after,
.bar:nth-child(7):before { animation-delay: -2.5s;
}
.bar:nth-child(8),
.bar:nth-child(8):after,
.bar:nth-child(8):before { animation-delay: -2.857142857142857s;
}
.attr { font-family: 'Open Sans', sans-serif; font-size: 20px; font-weight: 700; margin-bottom: 5px; color: #34495d;
}
.attr a { color: #18b6a7;
}
.attr a:not(:hover) { text-decoration: none;
}
@-moz-keyframes spin { 0% { transform: rotateY(0deg) translateZ(40px); } 25% { transform: rotateY(90deg) translateZ(40px); } 50% { transform: rotateY(180deg) translateZ(40px); } 75% { transform: rotateY(270deg) translateZ(40px); } 100% { transform: rotateY(360deg) translateZ(40px); }
}
@-webkit-keyframes spin { 0% { transform: rotateY(0deg) translateZ(40px); } 25% { transform: rotateY(90deg) translateZ(40px); } 50% { transform: rotateY(180deg) translateZ(40px); } 75% { transform: rotateY(270deg) translateZ(40px); } 100% { transform: rotateY(360deg) translateZ(40px); }
}
@-o-keyframes spin { 0% { transform: rotateY(0deg) translateZ(40px); } 25% { transform: rotateY(90deg) translateZ(40px); } 50% { transform: rotateY(180deg) translateZ(40px); } 75% { transform: rotateY(270deg) translateZ(40px); } 100% { transform: rotateY(360deg) translateZ(40px); }
}
@keyframes spin { 0% { transform: rotateY(0deg) translateZ(40px); } 25% { transform: rotateY(90deg) translateZ(40px); } 50% { transform: rotateY(180deg) translateZ(40px); } 75% { transform: rotateY(270deg) translateZ(40px); } 100% { transform: rotateY(360deg) translateZ(40px); }
}
Flexbox Dna Helix by Joe Ski - Script Codes
Flexbox Dna Helix by Joe Ski - Script Codes
Home Page Home
Developer KyleDavidE
Username KyleDavidE
Uploaded June 14, 2022
Rating 3.5
Size 4,041 Kb
Views 40,480
Do you need developer help for Flexbox Dna Helix by Joe Ski?

Find the perfect freelance services for your business! Fiverr's mission is to change how the world works together. Fiverr connects businesses with freelancers offering digital services in 500+ categories. Find Developer!

KyleDavidE (KyleDavidE) Script Codes
Create amazing web content with AI!

Jasper is the AI Content Generator that helps you and your team break through creative blocks to create amazing, original content 10X faster. Discover all the ways the Jasper AI Content Platform can help streamline your creative workflows. Start For Free!