Giter Club home page Giter Club logo

blickcss's Introduction

Small library for quickly creating styles via classes and special attributes. An alternative to Tailwind.

Getting Started

Installation

Just add the script to <head>, that's all you need

<script src="https://unpkg.com/blickcss"></script>

OR

Just 2 commands to start using

npm i blickcss
npx blick

WEBSITE - Visit the website for more information

DOCS - Read the documentation to get started

PLAYGROUND - Try it right now


Features

  • Converts class names to CSS properties based on a predefined object.
  • Supports special attributes like flex, text, and grid for enhanced styling.
  • Handles pseudo-classes and media queries.
  • Provides dynamic values, constants, CSS variables, and percentages for flexible styling.
  • Easy configuration options to customize the conversion object.

BlickCss vs Tailwind

tailwind: <div class="m-[25px]">

blickcss: <div class="m-25">



tailwind: <div class="text-[2em]">

blickcss: <div class="fs-2em or text-2em">



tailwind: <div class="text-[#ff0000]">

blickcss: <div class="c-#ff0000 or text-#ff0000">



tailwind: <div class="py-[10px] px-[30px]">

blickcss: <div class="p-10+30">



tailwind: <div class="bg-[--foo]">

blickcss: <div class="bg-$foo">



tailwind: <div class="w-[calc(23_/_85_*_100%)]">

blickcss: <div class="w-23/85">



WITH USING ATTRIBUTES:

tailwind: <div class="text-[23px] text-[#ff0000] font-bold text-center">

blickcss: <div text="23 #ff0000 bold center">



tailwind: <div class="flex gap-[15px] flex-col md:flex-row justify-center align-center">

blickcss: <div flex="15 col md:row center">

Conclusion

BlickCSS is a beginner-friendly JavaScript library that simplifies applying CSS styles using class names. With its intuitive syntax and support for special attributes, pseudo-classes, and media queries, BlickCSS empowers developers to easily create stylish and responsive web designs.

For more information and advanced usage, please refer to the BlickCSS Site.

License

BlickCSS is released under the MIT License.

Contact

If you have any questions, suggestions, or feedback, please feel free to reach out to us at telegram or e-mail.

Happy styling with BlickCSS!

blickcss's People

Contributors

ghtx280 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.