See the Pen
bronco-button by marius2502 (@marius2502)
on CodePen.
Modern button
Property |
Type |
Default |
Description |
outline |
boolean |
false |
Makes the button outlined |
outlineEffect |
boolean |
false |
Enables the outline effect after clicking |
Event |
Description |
clicked |
Dispatches when button is clicked. |
Property |
Description |
--bg-color |
Background color |
--bg-color-focus |
Background color when focused |
--bg-color-focus-hover |
Background color when focused and hovered |
--bg-color-hover |
Background color when hovered |
--border-radius |
Border radius |
--button-color-shadow |
Shadow color when not focused |
--button-color-shadow-focus |
Shadow color when focused |
--color |
text color |
--color-focus-hover |
text color when focused and hovered |
--height |
Height of button |
--margin |
Margin of button |
--min-width |
Width of button |
--primary-color |
Change primary color easily |
--primary-color-hover |
Hover background color |
Name |
Description |
|
Default content. |
Licensed under ISC.