Global blocks?
See original GitHub issueJust porting my home page, came across my use of a reset, and considering my options. I’m really liking a full reset these days, but even normalise will have this problem.
Currently, you can either:
- go through and add
:global
to everything - run a separate plugin chain that doesn’t include local-by-default
I was thinking it might be handy to have a :global
block syntax:
:global {
html, body, div /* etc etc */ {
margin: 0;
padding: 0;
border: 0;
font-size: 100%;
font: inherit;
vertical-align: baseline;
}
/* etc etc */
}
Thoughts?
Issue Analytics
- State:
- Created 8 years ago
- Reactions:1
- Comments:8 (6 by maintainers)
Top Results From Across the Web
Global Blocks: Update All of Your Pages with a Single Click
Global Blocks empowers Instapage enterprise customers to create, manage, and update global brand templates at scale. Whether it's a testimonial block, CTA block ......
Read more >Global blocks - Meta-Wiki - Wikimedia
Global blocks are technical actions performed to prevent an IP address or range of IP addresses from editing all Wikimedia wikis, ...
Read more >Global Blocks | Themeco Docs
Global Blocks gives you the ability to design something once and then utilize it throughout multiple pages or areas of your website. Down...
Read more >Create “Global” Blocks - Notion VIP
In a variety of circumstances, you may want to use the same block on multiple pages of your workspace. With this trick, you...
Read more >Global blocks - IBM
Global blocks are a series of global records, usually unrelated in content, that are loaded immediately following the global directories.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@geelen can you elaborate a bit more how you got it to work?
or https://github.com/postcss/postcss-nested