This is a little "framework" I made for myself for my future work.
Who knows maybe something will be out of this. 🤩
This framework is written with SASS.
You install this framework by simply importing 'steper.scss' into your main style.cs
@import "steper";
- buttons
- nav-bar
- cards
- text-styles
btn
- creates a default light colored buttonbtn-primary
- creates a primary colored buttonbtn-danger
- creates a danger colored buttonbtn-success
- creates a success colored buttonround
- rounds out your button
<div class="btn">
<a href="#">Default</a>
</div>
<div class="btn btn-primary">
<a href="#">Primary</a>
</div>
<div class="btn btn-light">
<a href="#">Light</a>
</div>
<div class="btn btn-success">
<a href="#">Success</a>
</div>
<div class="btn btn-danger">
<a href="#">Danger</a>
</div>
<div class="btn round">
<a href="#">Default rounded</a>
</div>
<div class="btn round btn-primary">
<a href="#">Primary rounded</a>
</div>
<div class="btn round btn-light">
<a href="#">Light rounded</a>
</div>
<div class="btn round btn-success">
<a href="#">Success rounded</a>
</div>
<div class="btn round btn-danger">
<a href="#">Danger rounded</a>
</div>
nav
- adds the default colored navbar featurenav-primary
- adds the primary colored navbar featurenav-success
- adds the success colored navbar featurenav-danger
- adds the danger colored navbar featurenav-light
- adds the light colored navbar featurenav-sm
- adds the small size to the navbarnav-m
- adds the medium size to the navbarnav-l
- adds the large size to the navbarnav-xl
- adds the extra large size to the navbarlogo
- adds the Header text and puts it into place (doesn't need to be text)
<header class="nav">
<div class="logo">
<h1>Logo</h1>
</div>
<ul>
<li><a href="#">Item #1</a></li>
<li><a href="#">Item #2</a></li>
<li><a href="#">Item #3</a></li>
</ul>
</header>
card-body
- adds the card body with default width and heightcard-title
- adds the cards titlecard-content
- adds the cards content section for text, etc..card-primary
- colors the card to primary colorcard-light
- colors the card to light colorcard-danger
- colors the card to danger colorcard-success
- colors the card to success color
<div class="card-body card-danger">
<div class="card-title">
I am a title text
</div>
<div class="card-content">
<p>
Lorem ipsum, dolor sit amet consectetur adipisicing elit. Quibusdam,
fugiat. Praesentium neque eius doloremque cum debitis dolore vitae,
iusto tenetur laborum labore pariatur ipsam, sed iste officiis, omnis
voluptate numquam. Lorem ipsum dolor sit amet consectetur adipisicing
</p>
<br />
<div class="btn btn-light">
<a href="#">Button</a>
</div>
<div class="btn btn-light">
<a href="#">Button</a>
</div>
</div>
</div>
<div class="card-body card-success">
<div class="card-title">
I am a title text
</div>
<div class="card-content">
<p>
Lorem ipsum, dolor sit amet consectetur adipisicing elit. Quibusdam,
fugiat. Praesentium neque eius doloremque cum debitis dolore vitae,
iusto tenetur laborum labore pariatur ipsam, sed iste officiis, omnis
voluptate numquam. Lorem ipsum dolor sit amet consectetur adipisicing
</p>
<br />
<div class="btn btn-light">
<a href="#">Button</a>
</div>
</div>
</div>
<div class="card-body card-primary">
<div class="card-title">
I am a title text
</div>
<div class="card-content">
<p>
Lorem ipsum, dolor sit amet consectetur adipisicing elit. Quibusdam,
fugiat. Praesentium neque eius doloremque cum debitis dolore vitae,
iusto tenetur laborum labore pariatur ipsam, sed iste officiis, omnis
voluptate numquam. Lorem ipsum dolor sit amet consectetur adipisicing
</p>
<br />
<div class="btn btn-light">
<a href="#">Button</a>
</div>
</div>
</div>
<div class="card-body card-light">
<div class="card-title">
I am a title text
</div>
<div class="card-content">
<p>
Lorem ipsum, dolor sit amet consectetur adipisicing elit. Quibusdam,
fugiat. Praesentium neque eius doloremque cum debitis dolore vitae,
iusto tenetur laborum labore pariatur ipsam, sed iste officiis, omnis
voluptate numquam. Lorem ipsum dolor sit amet consectetur adipisicing
</p>
<br />
<div class="btn btn-primary">
<a href="#">Button</a>
</div>
</div>
</div>
xl
- adds the extra large size to the textl
- adds the large size to the textm
- adds the medium size to the textsm
- adds the small size to the text
<h1 class="xl">I am dummy text</h1>
<h1 class="l">I am dummy text</h1>
<h1 class="m">I am dummy text</h1>
<h1 class="sm">I am dummy text</h1>