Giter Site home page Giter Site logo

CDN files about skel HOT 4 CLOSED

tomByrer avatar tomByrer commented on August 29, 2024
CDN files

from skel.

Comments (4)

ajlkn avatar ajlkn commented on August 29, 2024

Actually the whole thing needs a bit of configuring since the container/gutter size values are used throughout the stylesheet (not to mention your choice of whether to normalize, reset, or neither).

from skel.

tomByrer avatar tomByrer commented on August 29, 2024

choice of whether to normalize, reset, or neither

Sorry, but I & most devs don't agree with including resets that you MIGHT use as part of the main CSS file. If you want people to edit text, IMHO it should not be inside the files you provide, but inside their own HTML, CSS, or JS. Same idea with your JS configuring; you don't want them to hack your main JS files. So many better & more flexible choices:

  • add your own choice of CSS reset as part of HTML before CSS: eg <link rel="stylesheet" href="http://cdn.jsdelivr.net/normalize/3.0/normailze.css"> & instruct to add their own site.css after your skel.css (what I do for Bootstrap.css)
  • dev uses their own build process (eg Grunt/Gulp/Broccoli) which concocts all or most .CSS into one file, so you don't need to do that for them.
  • inject CSS as part of the JS configuration

There are a few things you can do to help your users, so the main skel.css can be on CDN, without inducing configuring CSS:

  • Give instructions about how they add resets & configuration in their project. (easy)
  • provide a build script tool or instructions how to configure their build tool (medium)
  • online built tool like Bootstrap's

from skel.

ajlkn avatar ajlkn commented on August 29, 2024

I'll look into this. Thanks for the feedback.

from skel.

tomByrer avatar tomByrer commented on August 29, 2024

Welcome. Sorry I made you drink from the firehose ;)

from skel.

Related Issues (20)

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.