Heading
Text text text text
Heading
Text text text text
Select theme
Paragraph of normal text
Paragraph with bold text, italic text,
strikethrough, highlighted text, and
inline code
Text, link.
Disabled buttons with disabled attribute (for buttons) & disabled class (for link-buttons)
Default text
Ohno text
Yay text
Main text
Fg2 text
Fg1 text
Fg0 text
Dropdowns are cool:
Dropdown buttons with more color classes:
raw-dropdown class (for stuff like js-powered dropdowns)
"Icon-only" buttons
Combo-select buttons (.combo-select class)
Combo-select with .combo-selected-icon
combo-buttons class (similar to combo-select, but with no selected/unselected styles)
Combo-buttons with alt buttons inside
Dropdown select
Searchbars
Searchbar with autocomplete
Searchbar with raw-autocomplete
Notice box text
Notice box text
Notice box text
Box text
Green box
Red box
Text input
Password input
Textarea input
File input
Inner table
| Header, column 0 | Header, column 1 | Header, column 2 |
|---|---|---|
| Row 0, column 0 | Row 0, column 1 | Row 0, column 2 |
| Row 1, column 0 | Row 1, column 1 | Row 1, column 2 |
Outer table
| Header, column 0 | Header, column 1 | Header, column 2 |
|---|---|---|
| Row 0, column 0 | Row 0, column 1 | Row 0, column 2 |
| Row 1, column 0 | Row 1, column 1 | Row 1, column 2 |
Item 2
Green
Item 5
Red
Item 7
Green
text
.center-h
more
text
.center-v
-v and -h
example
text
text
text
Option 1
Option 2
Extra inputs
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
Extra link with link-extra class: link here ig
"yay" color is for success (usually green)
"ohno" is for danger/error (usually red)
"extra" is just an accent/secondary color, it can be the same as yay if we want
"love" is a cute (usually red) color for not-scary stuff, it can be the same as ohno
the main difference is ohno and yay need to have contrast, so in colorblind themes they might not be red/green, but they should always give off negative/positive vibes, while love is supposed to be used for stuff like like buttons or donation links which isn't the same "scary" vibe use case that ohno is for
Link using link-love class: link is here hiii
Ohno and love are not usually directly next to eachother, so they might look odd in the example below but they usually look nice in real use cases (or they might be the same, which is fine)
Large buttons (continued?)
continued again?
You/we can use ehui's .hide class to show/hide modals.
We have fancy styling for button boxes with <button class="button-box">...<button> or <a class="button button-box">...<a>
You/we can add `.selected` for a fancy outline
We can also have other elements like images inside button boxes
We can apply color classes .yay and .ohno to button boxes too
We can apply color classes after being clicked.
You can do this with JavaScript using element.classList.add(...) and element.classList.remove(...) in element.addEventListener("click", ...)
We can also make button boxes disabled
You can use the button-box-selected-icon class to show/hide icons when selected
For example, Question Types: (select multiple)
You can use classes button-box and with-bordercolor-border when button boxes are inside of div elements that have class="box"
This example also applies/resets disabled attributes when answers are submitted/reset.
Also use no-box-shadow to disable shadows
Select the matching definition
ammonium
Accordions using the <details> element
More text goes here and here and here
Progress bars:
Change progress (live)
More progress bar styles: