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.
A container class for wrapping the content with a maximum width and centered alignment.
<div class="container">
<!-- Your content goes here -->
</div>A button component with basic styling for interactive elements.
<button class="btn">Click me</button>A card component with a subtle box-shadow effect for displaying content.
<div class="card">
<!-- Card content -->
</div>Header section for the card component.
<div class="card">
<div class="card-header">
<!-- Card header content -->
</div>
<div class="card-body">
<!-- Card body content -->
</div>
</div>Body section for the card component.
<div class="card">
<div class="card-header">
<!-- Card header content -->
</div>
<div class="card-body">
<!-- Card body content -->
</div>
</div>Grouping class for form elements.
<div class="form-group">
<!-- Form elements -->
</div>Label class for form inputs.
<label class="form-label" for="example-input">Label:</label>Styling for form inputs.
<input type="text" class="form-input" id="example-input" placeholder="Enter text">Styling for heading level 1.
<h1 class="h1">Heading 1</h1>Navigation bar component with basic styling.
<nav class="navbar">
<div class="container">
<!-- Navbar content -->
</div>
</nav>Styling for the navigation bar brand/logo.
<a href="#" class="navbar-brand">Brand</a>Styling for the navigation bar menu items.
<ul class="navbar-menu">
<li><a href="#">Menu Item 1</a></li>
<li><a href="#">Menu Item 2</a></li>
</ul>Alert component for displaying messages to the user.
<div class="alert">
<!-- Alert content -->
</div>Success variant of the alert component.
<div class="alert alert-success">
<!-- Success alert content -->
</div>Warning variant of the alert component.
<div class="alert alert-warning">
<!-- Warning alert content -->
</div>Error variant of the alert component.
<div class="alert alert-error">
<!-- Error alert content -->
</div>Styling for a progress bar.
<div class="progress-bar">
<div class="progress-bar-fill" style="width: 50%;"></div>
</div>Fill class for the progress bar.
Tab component for displaying tabbed content.
<div class="tab">
<button class="tablinks">Tab 1</button>
<button class="tablinks">Tab 2</button>
</div>Content section for tabs.
<div class="tabcontent">
<!-- Tab content -->
</div>Custom list styling.
<ul class="custom-list">
<li>List item 1</li>
<li>List item 2</li>
</ul>Container for displaying tags.
<div class="tags-container">
<span class="tag">Tag 1</span>
<span class="tag">Tag 2</span>
</div>Styling for individual tags.
<span class="tag">Tag</span>Sure, a flip-card is basically an online card that displays information on both sides and allows the user to "flip" it to see the other side with more details or content. It's an interactive and engaging way to present information on websites and applications.
<div class="flip-card">
<div class="flip-card-inner">
<div class="flip-card-front">
Front Content
</div>
<div class="flip-card-back">
Back Content
</div>
</div>
</div>