Skip to content

Instantly share code, notes, and snippets.

@ffoodd
Last active December 15, 2017 14:28
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ffoodd/d0479cdd2bc284b20f07c5e569268ae3 to your computer and use it in GitHub Desktop.
Save ffoodd/d0479cdd2bc284b20f07c5e569268ae3 to your computer and use it in GitHub Desktop.
CSS selecotrs tester
/**
* CSS selecotrs tester
*/
button:not(:-moz-any([type], [form], [formaction], [formtarget])),
:not(:-moz-any(img, object, embed, svg, canvas)):-moz-any([width], [height]) {
outline: 4px solid red;
outline-offset: -4px;
}
<h1>Heading 1</h1>
<div width="440">
<h2>Heading 2</h2>
</div>
<h1>Heading 1</h1>
<div>
<h3>Heading 3</h3>
</div>
<button>Test</button>
// alert('Hello world!');
{"view":"split","fontsize":"100","seethrough":"","prefixfree":"1","page":"css"}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment