Quickly customize and anime a Bootstrap button (1)
Dev Geos

Dev Geos @dev_geos

About: Coding from some years. Trying to do original things and share it with you. Follow me 😉

Location:
Somewhere
Joined:
Aug 10, 2021

Quickly customize and anime a Bootstrap button (1)

Publish Date: Dec 14 '22
7 0

One of the things that bootstrap is often criticized for is the fact that websites based on its components all look very similar. When you want to go fast or avoid writing CSS/SASS, it's mission impossible.

MOD-CSS is a lightweight framework that allows you to quickly customize your Bootstrap components.

For example, We'll quickly apply a custom background-color and a rounding effect of the edges on hover.
Rounding edge on hover

<button class="btn btn-danger" 
  :box="bg[#BE123C] && hover:bg[#F43F5E] br[2rem]">Hover-me
</button>

Enter fullscreen mode Exit fullscreen mode

Preview on codepen here

What is MOD-CSS ?

It a utility-first designed to be a lightweight alternative to Bootstrap and Tailwind.

Mod-css.com
Github

Comments 0 total

    Add comment