Giter VIP home page Giter VIP logo

anchor-css's Introduction

A tiny css boilerplate

Installation

git clone https://github.com/yoshuawuyts/anchor-css
npm install
gulp styles

Features

  • Flexbox centric
  • Sensible defaults only
  • Roles > class selectors
  • Built for today's browsers
  • <10 kb

About selectors

There's no such thing as a semantic class, roles are the only way to convey context. If you use roles as selectors you get screen reader support for free. Classes are only used as modifiers or to style non-visible elements (e.g. grids). I have no idea what an ID is.

Directory structure

.
├── utilities			// helper classes
│   ├── base
│   ├── colors 
│   ├── grid          
│   └── media
├── micro				// atoms
│   ├── animations
│   ├── buttons
│   ├── forms
│   ├── images
│   ├── navigation
│   ├── progress
│   ├── tables
│   └── typography
└── macro				// widgets
    ├── dialogs                 
    └── feedback       

Inspiration

License

MIT © Yoshua Wuyts

anchor-css's People

Contributors

yoshuawuyts avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

anchor-css's Issues

GH-Pages

Proper docs are nice.

  • 'Fork me' flag in right corner
  • Display all elements in vanilla html
  • Nice type?
  • Proper code examples
  • Make dynamic with React
  • Sparkly logo (rainbow anchor, anyone?)

Fix grid

Fix the grid, in its current form it's buggy. Also decide on element size per breakpoint.

Typography

Get some nice type in. Omit Google loading scripts, use the real thing instead.

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.