question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Just 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:closed
  • Created 8 years ago
  • Reactions:1
  • Comments:8 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
tonyxiaocommented, Sep 26, 2016

@geelen can you elaborate a bit more how you got it to work?

1reaction
sokracommented, Jun 12, 2015
Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found