Git Product home page Git Product logo

sscaffold-css's Introduction

logo

Contributors Forks Stargazers Issues MIT License

Introduction

sscaffold combines css rules from normalize.css, skeleton.css, and milligram into a single, reorganized, easy-to-use css file, with bugfixes and a few other updates and additions. It emphasizes sensible defaults and semantic HTML.

Size vs. skeleton and milligram

sscaffold is a little bit heftier than skeleton or milligram:

Library Minified Size (1)
Skeleton 2.0.4 (2) 7.7K
Milligram 1.3.0 (3) 11K
sscaffold 0.1.1 (4) 14K
  • (1) Each css file was run through cssminifier for an apples-to-apples comparison.
  • (2) The Skeleton 2.0.4 package includes Normalize 3.0.2. The current version of Normalize is 8.0.1. Normalize 3.0.2 was added to the Skeleton 2.0.4 file before minifying it.
  • (3) Milligram 1.3.0 requires Normalize 5.0.0. The current version of Normalize is 8.0.1. Normalize 5.0.0 was added to the Milligram 1.3.0 file before minifying it.
  • (4) sscaffold 0.1.1 has no external dependencies. Normalize 8.0.1 has already been integrated into sscaffold.css.

For 3K over Milligram and 7K over Skeleton you save an https request and get the features of both plus a few extras.

Using sscaffold

The current version is 0.1.1.

jsdelivr:

<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/[email protected]/sscaffold.min.css" integrity="sha256-tNrNp6fPTVnhpywTjgNV4jCx6W9d1wuALpwVmAQEYcs=" crossorigin="anonymous">

npm:

npm install sscaffold-css

If you want it added to another repository, dependency management system, or cdn, open an issue requesting it and I'll get on it.

Documentation

The sscaffold-css.com home page is a demo and brief overview of the current release.

Complete documentation is available at doc.sscaffold-css.com.

License

Like everything else it evolved from, sscaffold is being released under the MIT license. See LICENSE.

Acknowledgements

sscaffold exists thanks to:

sscaffold-css's People

Contributors

cjpatoilo avatar robsheldon avatar vladdoster 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  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

sscaffold-css's Issues

Is there a way to have in-flow children that wrap to the next line if there are too many?

I'm accustomed to setting up something like this in Bootstrap:

div.row
   div.col-md-4
   div.col-md-4
   div.col-md-4
   div.col-md-4

and having it render like this:

+----------+  +----------+  +----------+  

+----------+  +----------+  +----------+  
+----------+  

+----------+  

But when I use columns four on my in-flow children of row, not matter how many of them I add to the row, they just budge up and never wrap to the next line. Eventually they become too narrow to read.

I'd rather not have to calculate the layout in my Rails app, I'd rather just stuff all the children in the container and let the stylesheet work out the display details.

Is this possible?

Thanks very much for a super-svelte and understandable framework!

Add accessibility testing

Please add some testing for people with vision impairment, along with making sure the best practices you propose don't mess with things like screen readers.

I bring this up because quite a few people have complained about the very low contrast between your default text and background, along with the default font's weight, and I agree with them.

I'm also not sure why the default font color is slightly blue shifted, but that's personal preference. I'd like to see it grayscale.

Normalize <dialog> elements

Looks like the three major browsers aren't handling elements in the same way. Chrome is rendering them pretty much the way someone might expect; Firefox is requiring rules to be written to match Chrome's rendering; and Edge is requiring a little additional effort when there are rules present for fixing Firefox's behavior.

Publish on npm/bower?

Please consider publishing on npm (maybe bower as well?) so we can manage versions using standard tools.

`div.row > div.six.columns` (or other sizes) doesn't seem to break to block (100%) on Safari iOS

I designed / coded a page and in Chrome it's fine (tested using the responsive mode, aka device toolbar), but when I use on my actual phone, the div.row > div.six.columns doesn't seem to ocupy 100% of the width, breaking the whole viewport :( is it because of the @media queries using ppi instead of pixels? ( @media only screen and (max-resolution: 119dpi) and (min-resolution: 91dpi), not all html )

Text size in uncomfortably large by-default

When I visit the demo page I had to turn zoom down to 67% because the font size and column length was simply too large, both for myself and when just comparing to other sites. I'm using a 19" 5:4 1280x1024 monitor and I suspect that might be one of the causes.

This problem however does not exist with sites I've seen that use just Skeleton. Also mentioning just in case that Medium suffers from the same issue.

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.