Giter VIP home page Giter VIP logo

strapless's Introduction

Strapless

Basic setup

Make sure you've got Less (http://lesscss.org/) up and running before starting with Strapless. Basic understanding of Less scope, Less importing and, well, just Less in general is recommended.

Use Strapless as the base of your project by renaming strapless.less into [your project name here].less. Or index.less. Or whatever you want. It's up to you. Strapless is intended as a starting point for your project's CSS/Less.

To add your own CSS rules, simply insert your own Less after the core Strapless library files. You can also edit the Strapless library directly, just remember anything included as a (reference) in strapless.less doesn't output CSS directly, and editing library files might make it harder to update Strapless in the future. If you find yourself overwriting too many rules for a particular element, you can start from scratch by commenting it out in strapless.less.

Strapless is really opinionated in its approach. It's okay if you comment a few things out. We won't be offended.

Everything that's included

Here's what's included:

settings.less Project settings are defined here. Edit them here or redefine them later and let lazy loading do its thing.

mixins.less Strapless has a few mixins for determining text contrast. They're all determined to do the same thing: Make text and background colors work together to achieve target contrast ratios.

colors.less Generates all of Strapless's color variables. These are documented in settings.less in variable name lists. (Strapless uses variable name lists because variable names sometimes end up as CSS classes.)

patterns.less Contains mixins for generating patterns.

targets.less Ruleset mixins for different targets, including responsiveness targets.

elements/ The elements folder contains Less for HTML elements. Each file is named for its element, while etc.less is a catch-all for rules too small for their own file.

utilities.less CSS class utilities.

strapless's People

Contributors

adamtlord avatar n1207n avatar

Stargazers

 avatar  avatar Calvin avatar 'tori avatar Ashley avatar amelinamel avatar Molly Jean Bennett avatar Nikolaus Schlemm avatar Jarka Pachlová avatar Hugo Areias avatar  avatar Tom Haratyk avatar mario avatar  avatar Grant Holcombe avatar Morgan Higby-Flowers avatar  avatar Sumit Chachra avatar Rex Riepe avatar  avatar Jason Hafer avatar Mike du Heaume avatar Michael O'Brien avatar Ty Coghlan avatar Varlen Pavani Neto avatar John Chen avatar Nick avatar

Watchers

Sumit Chachra avatar Francis Cleary avatar Rex Riepe avatar Łukasz Tarka avatar Bret Waters avatar Vinay Kumar Sharma avatar Dariusz Fryta avatar James Cloos avatar Tomasz Baranowicz avatar Jan Romaniak avatar Dave Strohl avatar Sebastian Spiegel avatar Kyle Connors avatar Adam Strojek avatar Ryan P Kilby avatar Grzegorz Duda avatar  avatar Malwina Nowakowska avatar Jeremy Mike Willemse avatar Erin avatar  avatar Rafał Łempa avatar Leszek Kołacz avatar Sushil Tripathi avatar Magdalena Strzałkowska avatar Ciprian Stupinean avatar rajendra jalal avatar Ryan_Stack avatar  avatar Bruno Oliveira avatar Abraão Duarte avatar ppoteralski avatar  avatar codecakes avatar  avatar Michal Weinert avatar Flavio Zhingri avatar Eric Todd avatar Otavio Sonda avatar Pawel Zykowski avatar Krzysztof Chadynka avatar  avatar Amber Chang avatar Maxim Kukhtenkov avatar Nick avatar Krzysztof Ś avatar Sarah Cawley avatar Jason Arold avatar Nathan Pickard avatar  avatar  avatar Rafał Kondziela avatar  avatar Michal Kopacki avatar Greg Federico avatar  avatar Marcin Skorek avatar  avatar Pavlo Mokiichuk avatar Radosław Jóźwik avatar Mateusz Jasiński avatar Adam Podsiadło  avatar  avatar Amin avatar  avatar Guilherme Luis 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.