All Projects → vladocar → Basic.css

vladocar / Basic.css

Licence: mit
Basic.css - Classless CSS Starter File

Projects that are alternatives of or similar to Basic.css

Teutonic Css
A modern CSS framework — versatile, well documented.
Stars: ✭ 308 (-50.4%)
Mutual labels:  css-framework
Must Watch Css
A useful list of must-watch talks about CSS
Stars: ✭ 3,966 (+538.65%)
Mutual labels:  css-framework
Agilejs
AgileJS - The Css3 Creation Engine 🍖🌭🍔
Stars: ✭ 489 (-21.26%)
Mutual labels:  css-framework
Nes.css
NES-style CSS Framework | ファミコン風CSSフレームワーク
Stars: ✭ 17,912 (+2784.38%)
Mutual labels:  css-framework
Daisyui
⭐️ ⭐️ ⭐️ ⭐️ ⭐️  Tailwind Components
Stars: ✭ 382 (-38.49%)
Mutual labels:  css-framework
Gutenberg
Modern framework to print the web correctly.
Stars: ✭ 4,425 (+612.56%)
Mutual labels:  css-framework
Grayshift
A lightweight front-end component library for developing fast and powerful web interfaces.
Stars: ✭ 304 (-51.05%)
Mutual labels:  css-framework
Nhsuk Frontend
NHS.UK frontend contains the code you need to start building user interfaces for NHS websites and services.
Stars: ✭ 511 (-17.71%)
Mutual labels:  css-framework
Awesome Css Frameworks
List of awesome CSS frameworks
Stars: ✭ 4,410 (+610.14%)
Mutual labels:  css-framework
Mui
Lightweight CSS framework
Stars: ✭ 4,462 (+618.52%)
Mutual labels:  css-framework
Isometricsass
Sass library to make isometric 2D without javascript
Stars: ✭ 331 (-46.7%)
Mutual labels:  css-framework
Psone.css
🎮 PS1 style CSS Framework, inspired by NES.css
Stars: ✭ 367 (-40.9%)
Mutual labels:  css-framework
Vanilla Framework
From community websites to web applications, this CSS framework will help you achieve a consistent look and feel.
Stars: ✭ 476 (-23.35%)
Mutual labels:  css-framework
Filters.css
CSS only library to apply color filters.
Stars: ✭ 318 (-48.79%)
Mutual labels:  css-framework
Siimple
The minimal CSS toolkit for flat and clean designs
Stars: ✭ 502 (-19.16%)
Mutual labels:  css-framework
Pattern.css
CSS only library to fill empty background with beautiful patterns.
Stars: ✭ 3,481 (+460.55%)
Mutual labels:  css-framework
Bootstrap V4 Rtl
RTL edition of bootstrap v4 for rtl languages like Farsi and Arabic
Stars: ✭ 430 (-30.76%)
Mutual labels:  css-framework
Tailwindo
🔌 Convert Bootstrap CSS code to Tailwind CSS code
Stars: ✭ 606 (-2.42%)
Mutual labels:  css-framework
Hartija Css Print Framework
Universal CSS for web printing
Stars: ✭ 509 (-18.04%)
Mutual labels:  css-framework
Evie
A production-ready theme for your projects with a minimal style guide https://evie.undraw.co
Stars: ✭ 481 (-22.54%)
Mutual labels:  css-framework

License MIT Gzip Size

Basic.css

Classless CSS Starter File


Basic.css gives you basic CSS formatting and ability to make basic grids with only HTML5 syntax. You can use this project to Set your default styling.

List of features

  • Lightweight 1kb minified and gzipped.
  • Basic typography.
  • Basic forms.
  • Custom colors.
  • Dark theme.
  • Round corners.
  • Flex Grid without classes.
  • Flex Grid cards.

Demo: https://vladocar.github.io/Basic.css/

This project uses the best elements from my previous projects:

https://github.com/vladocar/Basic-CSS-Typography-Reset
https://github.com/vladocar/infinity-css-grid
https://github.com/vladocar/Simple-Button

You can change root css variables with your color palette:
:root {
  --c1:#0074d9;
  --c2:#eee;
  --c3:#fff;
  --c4:#000;
  --c5:#fff;
}
Or adjust the round corners

By default are 8px, use --rc: 0px; if you don't like round corners.

:root {
  --rc: 8px;
}
Override the colors in the dark mode:
@media (prefers-color-scheme: dark) {
	:root {
	  --c2:#333;
	  --c3:#1e1f20;
	  --c4:#fff;
	}
}
How you can use the infinity flex grid?

Use the HTML5 tags section and nested section to make flex grid.

<section>
	<section> 1 </section>
	<section> 2 </section>
	<section> 3 </section>
</section>
<section>
	<section> 1 </section>
	<section> 2 </section>
	<section> 3 </section>
	<section> 4 </section>
</section>

Demo: https://vladocar.github.io/Basic.css/grid.html

Use the HTML5 tags selection and article to make cards.

<section>
    <article> 1 </article>
    <article> 2 </article>
    <article> 3 </article>
</section>

Demo: https://vladocar.github.io/Basic.css/cards.html

How to use this project?

Simply download and personalize the basic.css file.

Or

npm i @vladocar/basic.css

Why should you use this project?

Instead of using CSS Reset you could just Set the basic css formatting and styling. You could even make some grids with the HTML5 tags. Naturally if you want to build something more complex you should use CSS classes and this project works great in combination with other CSS frameworks.

You can also check up some other Classless CSS Frameworks.

Bonus comic:

Comic xkcd style

Modified text from the original https://xkcd.com/2309/

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].