Sheet Music Animated Notes
How do I make an sheet music animated notes?
What is a sheet music animated notes? How do you make a sheet music animated notes? This script and codes were developed by Adam Lowenthal on 12 October 2022, Wednesday.
Sheet Music Animated Notes - Script Codes HTML Codes
<!DOCTYPE html>
<html >
<head> <meta charset="UTF-8"> <title>Sheet Music Animated Notes</title> <link rel='stylesheet prefetch' href='http://maxcdn.bootstrapcdn.com/bootstrap/3.3.5/css/bootstrap.min.css'>
<link rel='stylesheet prefetch' href='https://maxcdn.bootstrapcdn.com/font-awesome/4.4.0/css/font-awesome.min.css'>
<link rel='stylesheet prefetch' href='css/b882fd29558063fdeff4312c3.css'>
<link rel='stylesheet prefetch' href='css/f2f1a9485803d00fd4a1032af.css'>
<link rel='stylesheet prefetch' href='https://code.ionicframework.com/ionicons/2.0.1/css/ionicons.min.css'>
<link rel='stylesheet prefetch' href='css/b24ed607ffeeb392624893b33.css'> <link rel="stylesheet" href="css/style.css">
</head>
<body> <div class="wrapper"> <div class="sheet-music"> <ul class="sheet-music__staff"> <li></li> <li></li> <li></li> <li></li> <li></li> </ul> <div class="sheet-music__items"> <div class="treble"> <img src="https://s3-us-west-2.amazonaws.com/s.cdpn.io/7022/treble.svg" alt="" /> </div> <div class="notes"> <div class="notes__measure"> <i class="ion-ios-musical-note note--e"></i> <i class="ion-ios-musical-notes note--a"></i> <i class="ion-ios-musical-note note--b"></i> <i class="ion-ios-musical-note note--g"></i> </div> <div class="notes__measure"> <i class="ion-ios-musical-note note--a"></i> <i class="ion-ios-musical-notes note--a"></i> <i class="ion-ios-musical-note note--d"></i> <i class="ion-ios-musical-note note--g"></i> </div> <div class="notes__measure"> <i class="ion-ios-musical-note note--d"></i> <i class="ion-ios-musical-notes note--e"></i> <i class="ion-ios-musical-note note--a"></i> <i class="ion-ios-musical-note note--g"></i> </div> <div class="notes__measure"> <i class="ion-ios-musical-note note--e"></i> <i class="ion-ios-musical-notes note--d"></i> <i class="ion-ios-musical-note note--a"></i> <i class="ion-ios-musical-note note--g"></i> </div> <div class="notes__measure"> <i class="ion-ios-musical-note note--e"></i> <i class="ion-ios-musical-notes note--a"></i> <i class="ion-ios-musical-note note--b"></i> <i class="ion-ios-musical-note note--g"></i> </div> <div class="notes__measure"> <i class="ion-ios-musical-note note--a"></i> <i class="ion-ios-musical-notes note--a"></i> <i class="ion-ios-musical-note note--d"></i> <i class="ion-ios-musical-note note--g"></i> </div> <div class="notes__measure"> <i class="ion-ios-musical-note note--d"></i> <i class="ion-ios-musical-notes note--e"></i> <i class="ion-ios-musical-note note--a"></i> <i class="ion-ios-musical-note note--g"></i> </div> <div class="notes__measure"> <i class="ion-ios-musical-note note--e"></i> <i class="ion-ios-musical-notes note--d"></i> <i class="ion-ios-musical-note note--a"></i> <i class="ion-ios-musical-note note--g"></i> </div> </div> </div> </div>
</div> <script src='http://cdnjs.cloudflare.com/ajax/libs/jquery/2.1.3/jquery.min.js'></script>
<script src='https://maxcdn.bootstrapcdn.com/bootstrap/3.3.5/js/bootstrap.min.js'></script> <script src="js/index.js"></script>
</body>
</html>
Sheet Music Animated Notes - Script Codes CSS Codes
body { overflow-x: hidden;
}
.wrapper { width: 100vw; height: 100vh; display: flex; justify-content: center; align-items: center;
}
.sheet-music { width: 100%; display: block; &__staff { & { list-style: none; padding: 0; width: 100%; display: block; position: relative; } li { display: block; border-bottom: 2px solid #c8c8c8; padding-top: 23px; } } &__items { position: relative; top: -110px; display: flex; flex-flow: row nowrap; .treble { width: 5%; img { max-height: 100px; } } .notes { & { width: 95%; //animation: moveLeft 20s linear 2s alternate; //-webkit-animation-fill-mode: forwards; display: flex; flex-flow: row nowrap; } &__measure { & { border-left: 2px solid #c8c8c8; padding: 0 $padding-lg; opacity: 0; display: flex; flex-flow: row nowrap; animation: display 1s linear 1s alternate; -webkit-animation-fill-mode: forwards; } &:nth-child(1) { animation: display 1s linear 1s alternate; -webkit-animation-fill-mode: forwards; i { animation: display 1s linear 2s alternate; -webkit-animation-fill-mode: forwards; &:nth-child(2) { animation: display 1s linear 2.25s alternate; -webkit-animation-fill-mode: forwards; } &:nth-child(3) { animation: display 1s linear 2.5s alternate; -webkit-animation-fill-mode: forwards; } &:nth-child(4) { animation: display 1s linear 2.75s alternate; -webkit-animation-fill-mode: forwards; } } } &:nth-child(2) { animation: display 1s linear 3s alternate; -webkit-animation-fill-mode: forwards; i { animation: display 1s linear 3.25s alternate; -webkit-animation-fill-mode: forwards; &:nth-child(2) { animation: display 1s linear 3.5s alternate; -webkit-animation-fill-mode: forwards; } &:nth-child(3) { animation: display 1s linear 3.75s alternate; -webkit-animation-fill-mode: forwards; } &:nth-child(4) { animation: display 1s linear 4s alternate; -webkit-animation-fill-mode: forwards; } } } &:nth-child(3) { animation: display 1s linear 4.25s alternate; -webkit-animation-fill-mode: forwards; i { animation: display 1s linear 4.5s alternate; -webkit-animation-fill-mode: forwards; &:nth-child(2) { animation: display 1s linear 4.75s alternate; -webkit-animation-fill-mode: forwards; } &:nth-child(3) { animation: display 1s linear 5s alternate; -webkit-animation-fill-mode: forwards; } &:nth-child(4) { animation: display 1s linear 5.25s alternate; -webkit-animation-fill-mode: forwards; } } } &:nth-child(4) { animation: display 1s linear 5.5s alternate; -webkit-animation-fill-mode: forwards; i { animation: display 1s linear 5.75s alternate; -webkit-animation-fill-mode: forwards; &:nth-child(2) { animation: display 1s linear 6s alternate; -webkit-animation-fill-mode: forwards; } &:nth-child(3) { animation: display 1s linear 6.25s alternate; -webkit-animation-fill-mode: forwards; } &:nth-child(4) { animation: display 1s linear 6.5s alternate; -webkit-animation-fill-mode: forwards; } } } &:nth-child(5) { animation: display 1s linear 6.75s alternate; -webkit-animation-fill-mode: forwards; i { animation: display 1s linear 7s alternate; -webkit-animation-fill-mode: forwards; &:nth-child(2) { animation: display 1s linear 7.25s alternate; -webkit-animation-fill-mode: forwards; } &:nth-child(3) { animation: display 1s linear 7.5s alternate; -webkit-animation-fill-mode: forwards; } &:nth-child(4) { animation: display 1s linear 7.75s alternate; -webkit-animation-fill-mode: forwards; } } } &:nth-child(6) { animation: display 1s linear 8s alternate; -webkit-animation-fill-mode: forwards; i { animation: display 1s linear 8.25s alternate; -webkit-animation-fill-mode: forwards; &:nth-child(2) { animation: display 1s linear 8.5s alternate; -webkit-animation-fill-mode: forwards; } &:nth-child(3) { animation: display 1s linear 8.75s alternate; -webkit-animation-fill-mode: forwards; } &:nth-child(4) { animation: display 1s linear 9s alternate; -webkit-animation-fill-mode: forwards; } } } &:nth-child(7) { animation: display 1s linear 9.25s alternate; -webkit-animation-fill-mode: forwards; i { animation: display 1s linear 9.5s alternate; -webkit-animation-fill-mode: forwards; &:nth-child(2) { animation: display 1s linear 9.75s alternate; -webkit-animation-fill-mode: forwards; } &:nth-child(3) { animation: display 1s linear 10s alternate; -webkit-animation-fill-mode: forwards; } &:nth-child(4) { animation: display 1s linear 10.25s alternate; -webkit-animation-fill-mode: forwards; } } } &:nth-child(8) { animation: display 1s linear 10.5s alternate; -webkit-animation-fill-mode: forwards; i { animation: display 1s linear 10.75s alternate; -webkit-animation-fill-mode: forwards; &:nth-child(2) { animation: display 1s linear 11s alternate; -webkit-animation-fill-mode: forwards; } &:nth-child(3) { animation: display 1s linear 11.25s alternate; -webkit-animation-fill-mode: forwards; } &:nth-child(4) { animation: display 1s linear 11.5s alternate; -webkit-animation-fill-mode: forwards; } } } } i { margin-right: $margin-lg; font-size: 56px; position: relative; opacity: 0; &:last-child { margin-right: 0; } } i.ion-ios-musical-notes { //-ms-transform: rotate(-7deg); /* IE 9 */ //-webkit-transform: rotate(-7deg); /* Chrome, Safari, Opera */ //transform: rotate(-7deg); } .note--e { top: 27px; } .note--g { top: 7px; } .note--a { top: -1px; } .note--b { top: -13px; } .note--d { top: -33px; } } }
}
@keyframes display { transition: all 2s ease-in-out; -webkit-transition: all 2s ease-in-out; /** Chrome & Safari **/ -moz-transition: all 2s ease-in-out; /** Firefox **/ -o-transition: all 2s ease-in-out; /** Opera **/ from { opacity: 0; } to { opacity: 1; }
}
@keyframes moveLeft { transition: all 2s ease-in-out; -webkit-transition: all 2s ease-in-out; /** Chrome & Safari **/ -moz-transition: all 2s ease-in-out; /** Firefox **/ -o-transition: all 2s ease-in-out; /** Opera **/ from { transform: translate(-3350px, 0); } to { transform: translate(-3350px, 0); }
}
Sheet Music Animated Notes - Script Codes JS Codes
$(window).on("resize load", function(){ var trebleWidth = $('.treble').outerWidth(); $(".sheet-music__items .notes .notes__measure i");
});
Developer | Adam Lowenthal |
Username | alowenthal |
Uploaded | October 12, 2022 |
Rating | 3 |
Size | 6,029 Kb |
Views | 396,704 |
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 |
Responsive Flexbox Table | 2,701 Kb |
Spinning Animated Vinyl Record | 5,968 Kb |
Sticky Footer | 1,735 Kb |
Spotify Artist Page UI | 14,961 Kb |
Agile Burndown Chart | 4,366 Kb |
Google Maps Directions Sidebar | 3,884 Kb |
Webster Hall Show Tickets | 4,565 Kb |
Month Shows | 4,263 Kb |
Dashboard Focal Tags | 2,981 Kb |
Flexbox Responsive Grid Tiles | 2,030 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 |
Lazy Load for Background Images | The_ruther4d | 2,977 Kb |
Smoke Shader - Frame Buffer | Omarshe7ta | 2,672 Kb |
Simple Responsive Text | Fbrz | 2,282 Kb |
CSS Infinite 360 | APinix | 5,564 Kb |
Update CSS Variables with JS | Wesbos | 2,335 Kb |
Find The Penguin | Lelder | 2,212 Kb |
Import shader in three.js | Khangeldy | 2,636 Kb |
Cars going | Netoguimaraes | 1,699 Kb |
Feedback Page | TessDiNapoli | 2,836 Kb |
SVG Icons Template | Legofsalmon | 2,618 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!