|
1 |
| -# Lasted |
| 1 | +# Components Documentation - Sstudiosdev-lib |
| 2 | + |
| 3 | +This repository contains a set of CSS components for building user interfaces. Below is a list of components along with their descriptions and example code. |
| 4 | + |
| 5 | +# .container |
| 6 | +A container class for wrapping the content with a maximum width and centered alignment. |
| 7 | + |
| 8 | +## Example: |
| 9 | + |
| 10 | +```html |
| 11 | +<div class="container"> |
| 12 | + <!-- Your content goes here --> |
| 13 | +</div> |
| 14 | +``` |
| 15 | + |
| 16 | +# .btn |
| 17 | +A button component with basic styling for interactive elements. |
| 18 | + |
| 19 | +## Example: |
| 20 | + |
| 21 | +```html |
| 22 | +<button class="btn">Click me</button> |
| 23 | +``` |
| 24 | + |
| 25 | +# .card |
| 26 | +A card component with a subtle box-shadow effect for displaying content. |
| 27 | + |
| 28 | +## Example: |
| 29 | + |
| 30 | +```html |
| 31 | +<div class="card"> |
| 32 | + <!-- Card content --> |
| 33 | +</div> |
| 34 | +``` |
| 35 | + |
| 36 | +# .card-header |
| 37 | +Header section for the card component. |
| 38 | + |
| 39 | +## Example: |
| 40 | + |
| 41 | +```html |
| 42 | +<div class="card"> |
| 43 | + <div class="card-header"> |
| 44 | + <!-- Card header content --> |
| 45 | + </div> |
| 46 | + <div class="card-body"> |
| 47 | + <!-- Card body content --> |
| 48 | + </div> |
| 49 | +</div> |
| 50 | +``` |
| 51 | + |
| 52 | +# .card-body |
| 53 | +Body section for the card component. |
| 54 | + |
| 55 | +## Example: |
| 56 | + |
| 57 | +```html |
| 58 | +<div class="card"> |
| 59 | + <div class="card-header"> |
| 60 | + <!-- Card header content --> |
| 61 | + </div> |
| 62 | + <div class="card-body"> |
| 63 | + <!-- Card body content --> |
| 64 | + </div> |
| 65 | +</div> |
| 66 | +``` |
| 67 | + |
| 68 | +# .form-group |
| 69 | +Grouping class for form elements. |
| 70 | + |
| 71 | +## Example: |
| 72 | + |
| 73 | +```html |
| 74 | +<div class="form-group"> |
| 75 | + <!-- Form elements --> |
| 76 | +</div> |
| 77 | +``` |
| 78 | + |
| 79 | +# .form-label |
| 80 | +Label class for form inputs. |
| 81 | + |
| 82 | +## Example: |
| 83 | + |
| 84 | +```html |
| 85 | +<label class="form-label" for="example-input">Label:</label> |
| 86 | +``` |
| 87 | + |
| 88 | +# .form-input |
| 89 | +Styling for form inputs. |
| 90 | + |
| 91 | +## Example: |
| 92 | + |
| 93 | +```html |
| 94 | +<input type="text" class="form-input" id="example-input" placeholder="Enter text"> |
| 95 | +``` |
| 96 | + |
| 97 | +# .h1 |
| 98 | +Styling for heading level 1. |
| 99 | + |
| 100 | +## Example: |
| 101 | + |
| 102 | +```html |
| 103 | +<h1 class="h1">Heading 1</h1> |
| 104 | +``` |
| 105 | + |
| 106 | +# .navbar |
| 107 | +Navigation bar component with basic styling. |
| 108 | + |
| 109 | +## Example: |
| 110 | + |
| 111 | +```html |
| 112 | +<nav class="navbar"> |
| 113 | + <div class="container"> |
| 114 | + <!-- Navbar content --> |
| 115 | + </div> |
| 116 | +</nav> |
| 117 | +``` |
| 118 | + |
| 119 | +# .navbar-brand |
| 120 | +Styling for the navigation bar brand/logo. |
| 121 | + |
| 122 | +## Example: |
| 123 | + |
| 124 | +```html |
| 125 | +<a href="#" class="navbar-brand">Brand</a> |
| 126 | +``` |
| 127 | + |
| 128 | +# .navbar-menu |
| 129 | +Styling for the navigation bar menu items. |
| 130 | + |
| 131 | +## Example: |
| 132 | + |
| 133 | +```html |
| 134 | +<ul class="navbar-menu"> |
| 135 | + <li><a href="#">Menu Item 1</a></li> |
| 136 | + <li><a href="#">Menu Item 2</a></li> |
| 137 | +</ul> |
| 138 | +``` |
| 139 | + |
| 140 | +# .alert |
| 141 | +Alert component for displaying messages to the user. |
| 142 | + |
| 143 | +## Example: |
| 144 | + |
| 145 | +```html |
| 146 | +<div class="alert"> |
| 147 | + <!-- Alert content --> |
| 148 | +</div> |
| 149 | +``` |
| 150 | + |
| 151 | +# .alert-success |
| 152 | +Success variant of the alert component. |
| 153 | + |
| 154 | +## Example: |
| 155 | + |
| 156 | +```html |
| 157 | +<div class="alert alert-success"> |
| 158 | + <!-- Success alert content --> |
| 159 | +</div> |
| 160 | +``` |
| 161 | + |
| 162 | +# .alert-warning |
| 163 | +Warning variant of the alert component. |
| 164 | + |
| 165 | +## Example: |
| 166 | + |
| 167 | +```html |
| 168 | +<div class="alert alert-warning"> |
| 169 | + <!-- Warning alert content --> |
| 170 | +</div> |
| 171 | +``` |
| 172 | + |
| 173 | +# .alert-error |
| 174 | +Error variant of the alert component. |
| 175 | + |
| 176 | +## Example: |
| 177 | + |
| 178 | +```html |
| 179 | +<div class="alert alert-error"> |
| 180 | + <!-- Error alert content --> |
| 181 | +</div> |
| 182 | +``` |
| 183 | + |
| 184 | +# .progress-bar |
| 185 | +Styling for a progress bar. |
| 186 | + |
| 187 | +## Example: |
| 188 | + |
| 189 | +```html |
| 190 | +<div class="progress-bar"> |
| 191 | + <div class="progress-bar-fill" style="width: 50%;"></div> |
| 192 | +</div> |
| 193 | +``` |
| 194 | + |
| 195 | +# .progress-bar-fill |
| 196 | +Fill class for the progress bar. |
| 197 | + |
| 198 | +## Example: |
| 199 | + |
| 200 | +### NONE 😒 |
| 201 | + |
| 202 | +# .tab |
| 203 | +Tab component for displaying tabbed content. |
| 204 | + |
| 205 | +## Example: |
| 206 | + |
| 207 | +```html |
| 208 | +<div class="tab"> |
| 209 | + <button class="tablinks">Tab 1</button> |
| 210 | + <button class="tablinks">Tab 2</button> |
| 211 | +</div> |
| 212 | +``` |
| 213 | + |
| 214 | +# .tabcontent |
| 215 | +Content section for tabs. |
| 216 | + |
| 217 | +## Example: |
| 218 | + |
| 219 | +```html |
| 220 | +<div class="tabcontent"> |
| 221 | + <!-- Tab content --> |
| 222 | +</div> |
| 223 | +``` |
| 224 | + |
| 225 | +# .custom-list |
| 226 | +Custom list styling. |
| 227 | + |
| 228 | +## Example: |
| 229 | + |
| 230 | +```html |
| 231 | +<ul class="custom-list"> |
| 232 | + <li>List item 1</li> |
| 233 | + <li>List item 2</li> |
| 234 | +</ul> |
| 235 | +``` |
| 236 | + |
| 237 | +# .tags-container |
| 238 | +Container for displaying tags. |
| 239 | + |
| 240 | +## Example: |
| 241 | + |
| 242 | +```html |
| 243 | +<div class="tags-container"> |
| 244 | + <span class="tag">Tag 1</span> |
| 245 | + <span class="tag">Tag 2</span> |
| 246 | +</div> |
| 247 | +``` |
| 248 | + |
| 249 | +# .tag |
| 250 | +Styling for individual tags. |
| 251 | + |
| 252 | +## Example: |
| 253 | + |
| 254 | +```html |
| 255 | +<span class="tag">Tag</span> |
| 256 | +``` |
0 commit comments