Skip to content

eltonmesquita/polygon

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Polygon.css

A simple SCSS boilerplate.

What?

A simple CSS boilerplate written in SASS (SCSS syntax) and a Gruntfile to make it easy to start non-bloated web projects.

It focus on provinding some basic styling, some helpers, a good architeture and a set of basic rules for your CSS. It was built to make it yours. It's not made to be extended but to be modified for the project as it's just a boilerplate and not a framework.

Why?

There are lots of frameworks out there, some are minimal and some are full sets with UI and styling included, and most of them are great and can bring great value but none of them was what I needed. They usually are bloated, with rigid structure and have a big learning curve. All I needed was normalize.css, a small set of Styles pre-defined and a simple grid that just works. Well, here we are ;D

To the day I have used it in every web page/app I do and the results are great. The CSS and HTML complexity has lowered a lot, compared to the previous Frameworks I used, and the final CSS file is around 30kb heavy in average, even in larger web sites :D.

It has more than 4 years of proven and tested features. It's pretty safe to use it!

How?

It's pretty straight forward. Change the variables as you need, choose your classes names and just write your CSS. You shouldn't use grunt now, it's going to be removed soon but it's still a valid way to use Polygon.css as it will compile the SCSS files, add the prefixes, add the REM fallback and minify your CSS.

Compatibility

Right now it should work with virtually any browser and the support will depend a lot on what you do with it, but out of the box it officially supports:

  • IE8+
  • FireFox 2+
  • Chrome
  • Chrome Mobile
  • Safari 5+
  • iOS Safari 5.1+
  • Android 2+
  • Opera 9.6+
  • Opera Mini 5+
  • Opera Mobile 10+
  • Blackberry 10+.