Skip to content

pianosnake/musical-note

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

<musical-note>

A custom HTML element for a musical note in treble clef. See usage examples and a live demo here https://pianosnake.github.io/musical-note/

Install

Download the musical-note.js file from this repo and load the file into your page's HEAD section. The script can also be referenced directly from github:

<script src="https://pianosnake.github.io/musical-note/musical-note.js"></script>

Create a musical-note tag in the BODY of your page:

<musical-note value="db5"></musical-note>

An SVG image will be inserted with the given value

alt tag

License

MIT License

About

A custom HTML element for a musical note.

Resources

Stars

Watchers

Forks

Packages

No packages published