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 |
Agile Burndown Chart | 4,366 Kb |
Sticky Footer | 1,735 Kb |
A Pen by Adam Lowenthal | 5,504 Kb |
RWP Notifications | 2,999 Kb |
Webster Hall Show Tickets | 4,565 Kb |
Mobile First Menu | 2,864 Kb |
Slider | 48,147 Kb |
Google Maps Directions Sidebar | 3,884 Kb |
Blog List -- BnC | 5,011 Kb |
Dashboard Focal Tags | 2,981 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 |
Box-sizing | Elad2412 | 1,572 Kb |
Wikipedia API | Coderpilot | 2,802 Kb |
A Pen by James Podles | Jpod | 2,656 Kb |
Weather App | Kw7oe | 3,162 Kb |
RPG Style Text Dialogue | Odylic | 2,635 Kb |
CSS Bot Confusion | Jpod | 3,456 Kb |
Learning FlexBox | Alex_rodrigues | 2,821 Kb |
A Pen by Theun | Tjoen | 6,152 Kb |
Content Changer | Cliffpyles | 4,538 Kb |
Web Spiral - p5.js | TWAIN | 2,183 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!