Created
September 5, 2017 20:14
-
-
Save svinkle/e093626f74418dc98f187978d1f4e5b7 to your computer and use it in GitHub Desktop.
HTML to toggle a video play/pause control.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!-- Untoggled state --> | |
<button class="toggle-button player-button font-bold" aria-pressed="false" aria-label="Pause video"> | |
<span class="close-icon font-bold" aria-hidden="true">×</span> | |
</button> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!-- Toggled state --> | |
<button class="toggle-button player-button font-bold" aria-pressed="true" aria-label="Play video"> | |
<span class="close-icon font-bold" aria-hidden="true">×</span> | |
</button> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment