Skateboard tricks
How do I make an skateboard tricks?
What is a skateboard tricks? How do you make a skateboard tricks? This script and codes were developed by Julien Dargelos on 29 November 2022, Tuesday.
Skateboard tricks - Script Codes HTML Codes
<!DOCTYPE html>
<html >
<head> <meta charset="UTF-8"> <title>Skateboard tricks</title> <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! */ html {height:100%;}
body { height:100%; margin:0; transform-style:preserve-3d; perspective:600px;
}
h1 { width:100%; text-align:center; font-family:Helvetica; color:rgb(30,30,30);
}
#skateboard { background:rgb(30,30,30); background:linear-gradient(to right, rgb(30,30,30) 0%,rgb(38,38,38) 15%,rgb(38,38,38) 85%,rgb(30,30,30) 100%); width:400px; height:110px; left:50%; top:50%; margin:-55px 0 0 -200px; border-radius:110px; box-shadow:0 1px 0 #a98c4a, 0 2px 0 #a98c4a, 0 3px 0 #a98c4a, 0 4px 0 #a98c4a, 0 5px 0 #a98c4a, 0 6px 0 #a98c4a, 0 7px 0 rgb(50,50,50); position:absolute; font-size:0; transform:rotateX(-60deg);
}
#skateboard.trick { animation:trick 0.4s 1 linear;
}
.supp { background:rgb(200,200,200); width:14px; height:16px; top:118px; display:inline-block; position:relative;
}
#s1 {left:60px;}
#s2 {left:310px;}
.wheel { background:#fff6d7; width:30px; height:30px; top:24px; border-radius:30px; border:1px solid #8e8978; position:relative; rotateX(-5deg)
}
.wheel span { background:#8e8978; width:8px; height:8px; left:11px; top:11px; border-radius:8px; position:relative; display:block;
}
#w1 { left:-16px; box-shadow:0 -1px #b1ab97, 0 -2px #b1ab97, 1px -3px #b1ab97, 1px -4px #b1ab97, 1px -5px #b1ab97, 1px -6px #b1ab97, 1px -7px #b1ab97, 2px -8px #b1ab97, 2px -9px #b1ab97, 2px -10px #b1ab97, 2px -11px #b1ab97, 2px -12px #b1ab97, 3px -13px #b1ab97, 3px -14px #b1ab97, 3px -15px #b1ab97, 3px -16px #b1ab97, 3px -17px #b1ab97, 4px -18px #b1ab97;
}
#w2 { left:-3px; box-shadow:0 -1px #b1ab97, 0 -2px #b1ab97, -1px -3px #b1ab97, -1px -4px #b1ab97, -1px -5px #b1ab97, -1px -6px #b1ab97, -1px -7px #b1ab97, -2px -8px #b1ab97, -2px -9px #b1ab97, -2px -10px #b1ab97, -2px -11px #b1ab97, -2px -12px #b1ab97, -3px -13px #b1ab97, -3px -14px #b1ab97, -3px -15px #b1ab97, -3px -16px #b1ab97, -3px -17px #b1ab97, -4px -18px #b1ab97;
}
@keyframes trick { 0% {top:50%;transform:rotate(0) rotateX(0) rotateY(0);} 25% {transform:rotate(20deg) rotateX(20deg) rotateY(2deg);} 50% {top:10%;transform:rotate(20deg) rotateX(180deg) rotateY(30deg);} 100% {top:50%;transform:rotate(0) rotateX(360deg) rotateY(0);}
} </style> <script src="https://cdnjs.cloudflare.com/ajax/libs/prefixfree/1.0.7/prefixfree.min.js"></script>
</head>
<body> <h1>Click to trick !</h1>
<div id="skateboard"> <div class="supp" id="s1"> <div class="wheel" id="w1"> <span></span> </div> </div> <div class="supp" id="s2"> <div class="wheel" id="w2"> <span></span> </div> </div>
</div> <script src="js/index.js"></script>
</body>
</html>
Skateboard tricks - Script Codes CSS Codes
html {height:100%;}
body { height:100%; margin:0; transform-style:preserve-3d; perspective:600px;
}
h1 { width:100%; text-align:center; font-family:Helvetica; color:rgb(30,30,30);
}
#skateboard { background:rgb(30,30,30); background:linear-gradient(to right, rgb(30,30,30) 0%,rgb(38,38,38) 15%,rgb(38,38,38) 85%,rgb(30,30,30) 100%); width:400px; height:110px; left:50%; top:50%; margin:-55px 0 0 -200px; border-radius:110px; box-shadow:0 1px 0 #a98c4a, 0 2px 0 #a98c4a, 0 3px 0 #a98c4a, 0 4px 0 #a98c4a, 0 5px 0 #a98c4a, 0 6px 0 #a98c4a, 0 7px 0 rgb(50,50,50); position:absolute; font-size:0; transform:rotateX(-60deg);
}
#skateboard.trick { animation:trick 0.4s 1 linear;
}
.supp { background:rgb(200,200,200); width:14px; height:16px; top:118px; display:inline-block; position:relative;
}
#s1 {left:60px;}
#s2 {left:310px;}
.wheel { background:#fff6d7; width:30px; height:30px; top:24px; border-radius:30px; border:1px solid #8e8978; position:relative; rotateX(-5deg)
}
.wheel span { background:#8e8978; width:8px; height:8px; left:11px; top:11px; border-radius:8px; position:relative; display:block;
}
#w1 { left:-16px; box-shadow:0 -1px #b1ab97, 0 -2px #b1ab97, 1px -3px #b1ab97, 1px -4px #b1ab97, 1px -5px #b1ab97, 1px -6px #b1ab97, 1px -7px #b1ab97, 2px -8px #b1ab97, 2px -9px #b1ab97, 2px -10px #b1ab97, 2px -11px #b1ab97, 2px -12px #b1ab97, 3px -13px #b1ab97, 3px -14px #b1ab97, 3px -15px #b1ab97, 3px -16px #b1ab97, 3px -17px #b1ab97, 4px -18px #b1ab97;
}
#w2 { left:-3px; box-shadow:0 -1px #b1ab97, 0 -2px #b1ab97, -1px -3px #b1ab97, -1px -4px #b1ab97, -1px -5px #b1ab97, -1px -6px #b1ab97, -1px -7px #b1ab97, -2px -8px #b1ab97, -2px -9px #b1ab97, -2px -10px #b1ab97, -2px -11px #b1ab97, -2px -12px #b1ab97, -3px -13px #b1ab97, -3px -14px #b1ab97, -3px -15px #b1ab97, -3px -16px #b1ab97, -3px -17px #b1ab97, -4px -18px #b1ab97;
}
@keyframes trick { 0% {top:50%;transform:rotate(0) rotateX(0) rotateY(0);} 25% {transform:rotate(20deg) rotateX(20deg) rotateY(2deg);} 50% {top:10%;transform:rotate(20deg) rotateX(180deg) rotateY(30deg);} 100% {top:50%;transform:rotate(0) rotateX(360deg) rotateY(0);}
}
Skateboard tricks - Script Codes JS Codes
document.onclick=function() { document.getElementById('skateboard').className='trick'; setTimeout(function() { document.getElementById('skateboard').className=''; },400);
}
Developer | Julien Dargelos |
Username | juliendargelos |
Uploaded | November 29, 2022 |
Rating | 3.5 |
Size | 3,181 Kb |
Views | 8,096 |
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!
Name | Size |
Vusic | 4,178 Kb |
Grapher | 4,725 Kb |
Calculator | 2,553 Kb |
Scroll snap points carousel | 3,524 Kb |
Tags Input | 4,202 Kb |
Watch | 2,598 Kb |
Psychedelic Animation | 2,665 Kb |
A Pen by Julien Dargelos | 2,139 Kb |
InfoGrid | 4,925 Kb |
Pure CSS Torch Light | 2,727 Kb |
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!
Name | Username | Size |
Responsive Minimal Blog Layout | Hackthevoid | 5,261 Kb |
React Recipe Box | Krokodill | 5,347 Kb |
Amazing CSS Menu with Notification Badges | Faizanasad | 2,549 Kb |
Fading text with CSS blend modes | Giana | 3,305 Kb |
Table Exercise | Fresco | 9,585 Kb |
A Pen by tugce | Ecgutcnkr | 4,197 Kb |
How to add Css Fold Notes In Blogger By Askwithloud.com | Askwithloud | 2,280 Kb |
Simple checkbox style | Vncnz | 2,628 Kb |
PNotify Demo | Adittmar | 1,731 Kb |
RPG Style Text Dialogue | Odylic | 2,635 Kb |
Surf anonymously, prevent hackers from acquiring your IP address, send anonymous email, and encrypt your Internet connection. High speed, ultra secure, and easy to use. Instant setup. Hide Your IP Now!