Blaze UI Full Width Buttons
Blaze UI is a free open source UI Toolkit that provides a great structure for building websites quickly with a scalable and maintainable foundation. All components in Blaze UI are developed mobile-first and rely solely on native browser features, not a separate library or framework. It helps us to create a scalable and responsive website fast and efficiently with a consistent style.
Buttons help us to initiate an action such as submitting a form, navigating to another link, etc. Blaze UI full-width buttons are used to create the full-width buttons using the below class.
Blaze UI full-width buttons class:
- c-button–block: This class is used to create a full-width button in blaze UI.
Syntax:
<button type="button" class="c-button c-button--block"> ... </button>
Example 1: This example demonstrates the Blaze UI full-width buttons.
HTML
<!DOCTYPE html> < html lang = "en" > < head > < title > Blaze UI Full Width Buttons </ title > < link rel = "stylesheet" href = "https://unpkg.com/@blaze/css@x.x.x/dist/blaze/blaze.css" /> </ head > < body > < div class = "u-centered " > < h1 style = "color:green;" > w3wiki </ h1 > < h3 > Blaze UI Full Width Buttons </ h3 > < button type = "button" class = "c-button c-button--block u-xsmall" > w3wiki Extra small </ button > < br > < br > < button type = "button" class = "c-button c-button--block u-small" > w3wiki Small </ button > < br > < br > < button type = "button" class = "c-button c-button--block u-medium" > w3wiki Medium </ button > < br > < br > </ div > </ body > </ html > |
Output:
Example 2: This example demonstrates the Blaze UI full-width buttons.
HTML
<!DOCTYPE html> < html lang = "en" > < head > < title > Blaze UI Full Width Buttons </ title > < link rel = "stylesheet" href = "https://unpkg.com/@blaze/css@x.x.x/dist/blaze/blaze.css" /> </ head > < body > < div class = "u-centered " > < h1 style = "color: green;" > w3wiki </ h1 > < h3 > Blaze UI Full Width Buttons </ h3 > < button type = "button" class = "c-button c-button--block u-large" > w3wiki Large </ button > < br > < br > < button type = "button" class = "c-button c-button--block u-xlarge" > w3wiki Extra Large </ button > < br > < br > < button type = "button" class = "c-button c-button--block u-super" > w3wiki Super </ button > < br > < br > </ div > </ body > </ html > |
Output:
Reference: https://www.blazeui.com/components/buttons/