Created
December 9, 2012 19:09
-
-
Save jameshibbard/4246581 to your computer and use it in GitHub Desktop.
Two select menus with which a user can choose background and text colour
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
<p>Select the background colour: | |
<select class="selector"> | |
<option value="background-default">Default</option> | |
<option value="background-blue">Blue</option> | |
<option value="background-green">Green</option> | |
<option value="background-red">Red</option> | |
</select> | |
</p> | |
<p>Select the text colour: | |
<select class="selector"> | |
<option value="color-default">Default</option> | |
<option value="color-yellow">Yellow</option> | |
<option value="color-white">White</option> | |
<option value="color-purple">Purple</option> | |
</select> | |
</p> | |
<button id="reset">Reset ALL the styles</button> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment