GithubHelp home page GithubHelp logo

Global styles about css-architecture HOT 3 OPEN

saltcod avatar saltcod commented on August 29, 2024
Global styles

from css-architecture.

Comments (3)

halian-vilela avatar halian-vilela commented on August 29, 2024 2

Fantastic Article!

Regarding Globals, I'm trying to follow the ITCSS methodology myself, so I've set, in the Generic levels, three stylesheets to handle the real globals (_general.scss), typography stuff (_typography.scss) and WordPress inputs and WYSIWYG-related styles (_wpbasics.scss).

footer_js_ _mercadao

Using this I was able to mitigate the necessity for Normalize, so, despite those styles I really use and know what for, I'm not using any reset.

from css-architecture.

jareware avatar jareware commented on August 29, 2024

@saltcod thanks, glad you liked it! :)

As to CSS resets, I kind of alluded to them in the 1. Always prefer classes section, but since you're not the only one who was left wondering where they fit into the picture, I'll definitely try to include some clarifications on that part!

from css-architecture.

jareware avatar jareware commented on August 29, 2024

@halian-vilela thanks for the feedback!

I wasn't aware of ITCSS, and their landing page wasn't very helpful. ;) Still, anything by Harry Roberts gets serious consideration from me.

But looking at https://www.xfive.co/blog/itcss-scalable-maintainable-css-architecture/, I'm not really sure what you mean by:

Using this I was able to mitigate the necessity for Normalize, so, despite those styles I really use and know what for, I'm not using any reset.

since it specifically talks about resets here:

Generic – reset and/or normalize styles, box-sizing definition, etc. This is the first layer which generates actual CSS.

from css-architecture.

Related Issues (13)

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.