Giter Site home page Giter Site logo

louismerlin / concrete.css Goto Github PK

View Code? Open in Web Editor NEW
486.0 5.0 12.0 213 KB

A simple and to the point classless CSS framework

Home Page: https://concrete.style

License: MIT License

CSS 46.54% HTML 53.46%
concrete css html framework css-framework minimalist brutalist classless

concrete.css's Introduction

A simple and to the point classless CSS stylesheet

What is this ?

This a classless CSS stylesheet, built for lightness and simplicity.

Concrete can be a great starting point for a simple website.

It also switches to a dark theme if your OS uses one.

Inspired by Milligram and Skeleton.

Please feel free to open an issue and/or contribute !

Get Started

In your HTML <head>

Just drop this line into your html <head>:

<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/[email protected]/concrete.min.css">

In your javascript project

Add the dependency:

npm install concrete.css

Import it somewhere in your code:

import 'concrete.css'

concrete.css's People

Contributors

badcat avatar jedevc avatar jwilber avatar louismerlin avatar maxk42 avatar xge 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  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  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

concrete.css's Issues

Extract hard coded values into variables

I like that this is opinionated, however hooks to change things like max-width would be useful.

I've easily overridden the background colour by setting --bg, so it'd be great to extract other, more overarching, variables out into a place where they can be set once.

For example, a wider header with less bottom padding, a wider body, etc.

Tweaks to the Home page examples

I like this. However I noticed a couple of things that might benefit from some minor adjustments.

Buttons:
Per the W3C validation...

The <button> element must not appear as a descendant of the <a> element.

Suggest removing these examples:

<a href="./"><button>a link button</button></a>
<a href="./"><button disabled>a disabled link button</button></a>

Break line:
Break line <hr> should probably be called Horizontal Rule.
Also, probably don't need to show <hr /> with trailing slash for default html5, but instead just <hr>

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.