#linthtmlwithcss résultats de recherche

#lintHTMLwithCSS this selector hunts for lists that have something other than an <li> inside

argyleink's tweet image. #lintHTMLwithCSS 

this selector hunts for lists that have something other than an &amp;lt;li&amp;gt; inside

#lintHTMLwithCSS this selector hunts for links that have: - no href - an empty href - a "#" href (button perhaps?)

argyleink's tweet image. #lintHTMLwithCSS

this selector hunts for links that have:
- no href
- an empty href
- a &quot;#&quot; href (button perhaps?)

Find all the buttons without any label. Inspired by @argyleink 🥳 #lintHTMLwithCSS #a11y

tanishaaa03's tweet image. Find all the buttons without any label. Inspired by @argyleink 🥳

#lintHTMLwithCSS #a11y

#lintHTMLwithCSS: /* Headers out of order (i.e. h2 before h1, etc.) Result: dotted blue outline */ h2 ~ h1, h3 ~ h1, h4 ~ h1, h5 ~ h1, h6 ~ h1, h3 ~ h2, h4 ~ h2, h5 ~ h2, h6 ~ h2, h4 ~ h3, h5 ~ h3, h6 ~ h3, h5 ~ h4, h6 ~ h4, h6 ~ h5 { outline: 2px dotted blue; }

Una's tweet image. #lintHTMLwithCSS:

/* Headers out of order (i.e. h2 before h1, etc.)
   Result: dotted blue outline
*/
h2 ~ h1,
h3 ~ h1,
h4 ~ h1,
h5 ~ h1,
h6 ~ h1,
h3 ~ h2,
h4 ~ h2,
h5 ~ h2,
h6 ~ h2,
h4 ~ h3,
h5 ~ h3,
h6 ~ h3,
h5 ~ h4,
h6 ~ h4,
h6 ~ h5 {
  outline: 2px dotted blue;
}
Una's tweet image. #lintHTMLwithCSS:

/* Headers out of order (i.e. h2 before h1, etc.)
   Result: dotted blue outline
*/
h2 ~ h1,
h3 ~ h1,
h4 ~ h1,
h5 ~ h1,
h6 ~ h1,
h3 ~ h2,
h4 ~ h2,
h5 ~ h2,
h6 ~ h2,
h4 ~ h3,
h5 ~ h3,
h6 ~ h3,
h5 ~ h4,
h6 ~ h4,
h6 ~ h5 {
  outline: 2px dotted blue;
}

#lintHTMLwithCSS this selector hunts for forbidden nesting

argyleink's tweet image. #lintHTMLwithCSS 

this selector hunts for forbidden nesting

#lintHTMLwithCSS this selector hunts for <div>'s inside of inline elements like a <span>

argyleink's tweet image. #lintHTMLwithCSS 

this selector hunts for &amp;lt;div&amp;gt;&apos;s inside of inline elements like a &amp;lt;span&amp;gt;

Inline <a> should not contain any block level elements #lintHTMLwithCSS . A common HTML mistake. #100DaysOfCode #HTML #CSS

tanishaaa03's tweet image. Inline &amp;lt;a&amp;gt; should not contain any block level elements #lintHTMLwithCSS . 

A common HTML mistake.
#100DaysOfCode #HTML #CSS

Here's a better solution utilizing :first-of-type, since you could have an article with h2's following a subsection that included an h3, etc.: /ht @tabatkins #lintHTMLwithCSS

Una's tweet image. Here&apos;s a better solution utilizing :first-of-type, since you could have an article with h2&apos;s following a subsection that included an h3, etc.:

/ht @tabatkins 

#lintHTMLwithCSS

Just realised this is so cool. Find #a11y errors using CSS. Find all the input fields without any labelling. Inspired by @argyleink #lintHTMLwithCSS

tanishaaa03's tweet image. Just realised this is so cool. Find #a11y errors using CSS. 
Find all the input fields without any labelling. Inspired by @argyleink 

#lintHTMLwithCSS

#lintHTMLwithCSS this selector hunts for elements with a tabindex other than 0 or -1 why? values other than 0 or -1 can steal or disrupt natural tab order and is generally something to avoid

argyleink's tweet image. #lintHTMLwithCSS 

this selector hunts for elements with a tabindex other than 0 or -1

why?
values other than 0 or -1 can steal or disrupt natural tab order and is generally something to avoid

#lintHTMLwithCSS Languages like Arabic or Hebrew require a text direction. This selector hunts for Arabic or Hebrew [lang] usage and checks the [dir] to ensure a proper pairing

argyleink's tweet image. #lintHTMLwithCSS 

Languages like Arabic or Hebrew require a text direction. This selector hunts for Arabic or Hebrew [lang] usage and checks the [dir] to ensure a proper pairing

This one is useful too to force each <caption> to be the first direct child of a <table> elements. Gist: gist.github.com/bellangerq/491… #lintHTMLwithCSS #a11y

bellanger_q's tweet image. This one is useful too to force each &amp;lt;caption&amp;gt; to be the first direct child of a &amp;lt;table&amp;gt; elements.

Gist: gist.github.com/bellangerq/491…

#lintHTMLwithCSS #a11y

#lintHTMLwithCSS this selector hunts for the first child of a <details> and marks it if it's not a proper <summary>

argyleink's tweet image. #lintHTMLwithCSS 

this selector hunts for the first child of a &amp;lt;details&amp;gt; and marks it if it&apos;s not a proper &amp;lt;summary&amp;gt;

#lintHTMLwithCSS prevent page load jank and CLS by finding <img>'s missing height and width attributes

argyleink's tweet image. #lintHTMLwithCSS

prevent page load jank and CLS by finding &amp;lt;img&amp;gt;&apos;s missing height and width attributes

One more: images should be marked up with their width & height, so that browsers can infer their intrinsic size before downloading them (which they now actually do #2020) img:not([width]), img:not([height]) {filter: invert(1)} #lintHTMLwithCSS



なんやこれめっちゃ便利やんけ #lintHTMLwithCSS


#lintHTMLwithCSS this selector hunts for links that might be used for phishing h/t && @mathias via mathiasbynens.github.io/rel-noopener/

argyleink's tweet image. #lintHTMLwithCSS 

this selector hunts for links that might be used for phishing

h/t  &amp;amp;&amp;amp; @mathias via mathiasbynens.github.io/rel-noopener/

a[target='_blank']:not([rel*='noopener']):not([rel*='noreferrer'])::after { content: '‼️' }



masuP9/display-wai-aria.css: This CSS file displays WAI ARIA ( [role], [aria-*] ) github.com/masuP9/display… #lintHTMLwithCSS


What⁇ Please tell me what this hash tag is. #lintHTMLwithCSS


What⁇ Please tell me what this hash tag is. #lintHTMLwithCSS


who can do a @PostCSS plugin with all the #lintHTMLwithCSS tricks?? or maybe a plain css file in a CDN??


なんやこれめっちゃ便利やんけ #lintHTMLwithCSS


I took the time to collect all the #linthtmlwithcss snippets, putting it in one CSS file on Github. I'll try my best to keep this list up to date. 🤙 github.com/lorenzodelijse…


Want your web development life changed? Check out the #lintHTMLwithCSS hashtag and go down the rabbit hole.:


Inline <a> should not contain any block level elements #lintHTMLwithCSS . A common HTML mistake. #100DaysOfCode #HTML #CSS

tanishaaa03's tweet image. Inline &amp;lt;a&amp;gt; should not contain any block level elements #lintHTMLwithCSS . 

A common HTML mistake.
#100DaysOfCode #HTML #CSS

Here's a better solution utilizing :first-of-type, since you could have an article with h2's following a subsection that included an h3, etc.: /ht @tabatkins #lintHTMLwithCSS

Una's tweet image. Here&apos;s a better solution utilizing :first-of-type, since you could have an article with h2&apos;s following a subsection that included an h3, etc.:

/ht @tabatkins 

#lintHTMLwithCSS

#lintHTMLwithCSS: /* Headers out of order (i.e. h2 before h1, etc.) Result: dotted blue outline */ h2 ~ h1, h3 ~ h1, h4 ~ h1, h5 ~ h1, h6 ~ h1, h3 ~ h2, h4 ~ h2, h5 ~ h2, h6 ~ h2, h4 ~ h3, h5 ~ h3, h6 ~ h3, h5 ~ h4, h6 ~ h4, h6 ~ h5 { outline: 2px dotted blue; }

Una's tweet image. #lintHTMLwithCSS:

/* Headers out of order (i.e. h2 before h1, etc.)
   Result: dotted blue outline
*/
h2 ~ h1,
h3 ~ h1,
h4 ~ h1,
h5 ~ h1,
h6 ~ h1,
h3 ~ h2,
h4 ~ h2,
h5 ~ h2,
h6 ~ h2,
h4 ~ h3,
h5 ~ h3,
h6 ~ h3,
h5 ~ h4,
h6 ~ h4,
h6 ~ h5 {
  outline: 2px dotted blue;
}
Una's tweet image. #lintHTMLwithCSS:

/* Headers out of order (i.e. h2 before h1, etc.)
   Result: dotted blue outline
*/
h2 ~ h1,
h3 ~ h1,
h4 ~ h1,
h5 ~ h1,
h6 ~ h1,
h3 ~ h2,
h4 ~ h2,
h5 ~ h2,
h6 ~ h2,
h4 ~ h3,
h5 ~ h3,
h6 ~ h3,
h5 ~ h4,
h6 ~ h4,
h6 ~ h5 {
  outline: 2px dotted blue;
}

Seen a lot of this under the tag #linthtmlwithcss


#lintHTMLwithCSS が素晴らしい。 開発時のみに適応されるようにしてパッケージとかにまとめたい。


#lintHTMLwithCSS Languages like Arabic or Hebrew require a text direction. This selector hunts for Arabic or Hebrew [lang] usage and checks the [dir] to ensure a proper pairing

argyleink's tweet image. #lintHTMLwithCSS 

Languages like Arabic or Hebrew require a text direction. This selector hunts for Arabic or Hebrew [lang] usage and checks the [dir] to ensure a proper pairing

I use <svg viewBox="..." aria-hidden="true" focusable="false"> all the time. It would be labeled as a warning by this ruleset even though it shouldn’t because it has aria-hidden on it. #lintHTMLwithCSS #a11y


#lintHTMLwithCSS this selector hunts for links that might be used for phishing h/t && @mathias via mathiasbynens.github.io/rel-noopener/

argyleink's tweet image. #lintHTMLwithCSS 

this selector hunts for links that might be used for phishing

h/t  &amp;amp;&amp;amp; @mathias via mathiasbynens.github.io/rel-noopener/

a[target='_blank']:not([rel*='noopener']):not([rel*='noreferrer'])::after { content: '‼️' }



#lintHTMLwithCSS this selector hunts for the first child of a <details> and marks it if it's not a proper <summary>

argyleink's tweet image. #lintHTMLwithCSS 

this selector hunts for the first child of a &amp;lt;details&amp;gt; and marks it if it&apos;s not a proper &amp;lt;summary&amp;gt;

#lintHTMLwithCSS this selector hunts for <div>'s inside of inline elements like a <span>

argyleink's tweet image. #lintHTMLwithCSS 

this selector hunts for &amp;lt;div&amp;gt;&apos;s inside of inline elements like a &amp;lt;span&amp;gt;

masuP9/display-wai-aria.css: This CSS file displays WAI ARIA ( [role], [aria-*] ) github.com/masuP9/display… #lintHTMLwithCSS


Find all the buttons without any label. Inspired by @argyleink 🥳 #lintHTMLwithCSS #a11y

tanishaaa03's tweet image. Find all the buttons without any label. Inspired by @argyleink 🥳

#lintHTMLwithCSS #a11y

Aucun résultat pour "#linthtmlwithcss"

#lintHTMLwithCSS this selector hunts for lists that have something other than an <li> inside

argyleink's tweet image. #lintHTMLwithCSS 

this selector hunts for lists that have something other than an &amp;lt;li&amp;gt; inside

#lintHTMLwithCSS this selector hunts for links that have: - no href - an empty href - a "#" href (button perhaps?)

argyleink's tweet image. #lintHTMLwithCSS

this selector hunts for links that have:
- no href
- an empty href
- a &quot;#&quot; href (button perhaps?)

#lintHTMLwithCSS this selector hunts for forbidden nesting

argyleink's tweet image. #lintHTMLwithCSS 

this selector hunts for forbidden nesting

Find all the buttons without any label. Inspired by @argyleink 🥳 #lintHTMLwithCSS #a11y

tanishaaa03's tweet image. Find all the buttons without any label. Inspired by @argyleink 🥳

#lintHTMLwithCSS #a11y

#lintHTMLwithCSS: /* Headers out of order (i.e. h2 before h1, etc.) Result: dotted blue outline */ h2 ~ h1, h3 ~ h1, h4 ~ h1, h5 ~ h1, h6 ~ h1, h3 ~ h2, h4 ~ h2, h5 ~ h2, h6 ~ h2, h4 ~ h3, h5 ~ h3, h6 ~ h3, h5 ~ h4, h6 ~ h4, h6 ~ h5 { outline: 2px dotted blue; }

Una's tweet image. #lintHTMLwithCSS:

/* Headers out of order (i.e. h2 before h1, etc.)
   Result: dotted blue outline
*/
h2 ~ h1,
h3 ~ h1,
h4 ~ h1,
h5 ~ h1,
h6 ~ h1,
h3 ~ h2,
h4 ~ h2,
h5 ~ h2,
h6 ~ h2,
h4 ~ h3,
h5 ~ h3,
h6 ~ h3,
h5 ~ h4,
h6 ~ h4,
h6 ~ h5 {
  outline: 2px dotted blue;
}
Una's tweet image. #lintHTMLwithCSS:

/* Headers out of order (i.e. h2 before h1, etc.)
   Result: dotted blue outline
*/
h2 ~ h1,
h3 ~ h1,
h4 ~ h1,
h5 ~ h1,
h6 ~ h1,
h3 ~ h2,
h4 ~ h2,
h5 ~ h2,
h6 ~ h2,
h4 ~ h3,
h5 ~ h3,
h6 ~ h3,
h5 ~ h4,
h6 ~ h4,
h6 ~ h5 {
  outline: 2px dotted blue;
}

#lintHTMLwithCSS this selector hunts for <div>'s inside of inline elements like a <span>

argyleink's tweet image. #lintHTMLwithCSS 

this selector hunts for &amp;lt;div&amp;gt;&apos;s inside of inline elements like a &amp;lt;span&amp;gt;

Inline <a> should not contain any block level elements #lintHTMLwithCSS . A common HTML mistake. #100DaysOfCode #HTML #CSS

tanishaaa03's tweet image. Inline &amp;lt;a&amp;gt; should not contain any block level elements #lintHTMLwithCSS . 

A common HTML mistake.
#100DaysOfCode #HTML #CSS

Just realised this is so cool. Find #a11y errors using CSS. Find all the input fields without any labelling. Inspired by @argyleink #lintHTMLwithCSS

tanishaaa03's tweet image. Just realised this is so cool. Find #a11y errors using CSS. 
Find all the input fields without any labelling. Inspired by @argyleink 

#lintHTMLwithCSS

Here's a better solution utilizing :first-of-type, since you could have an article with h2's following a subsection that included an h3, etc.: /ht @tabatkins #lintHTMLwithCSS

Una's tweet image. Here&apos;s a better solution utilizing :first-of-type, since you could have an article with h2&apos;s following a subsection that included an h3, etc.:

/ht @tabatkins 

#lintHTMLwithCSS

#lintHTMLwithCSS this selector hunts for elements with a tabindex other than 0 or -1 why? values other than 0 or -1 can steal or disrupt natural tab order and is generally something to avoid

argyleink's tweet image. #lintHTMLwithCSS 

this selector hunts for elements with a tabindex other than 0 or -1

why?
values other than 0 or -1 can steal or disrupt natural tab order and is generally something to avoid

This one is useful too to force each <caption> to be the first direct child of a <table> elements. Gist: gist.github.com/bellangerq/491… #lintHTMLwithCSS #a11y

bellanger_q's tweet image. This one is useful too to force each &amp;lt;caption&amp;gt; to be the first direct child of a &amp;lt;table&amp;gt; elements.

Gist: gist.github.com/bellangerq/491…

#lintHTMLwithCSS #a11y

#lintHTMLwithCSS Languages like Arabic or Hebrew require a text direction. This selector hunts for Arabic or Hebrew [lang] usage and checks the [dir] to ensure a proper pairing

argyleink's tweet image. #lintHTMLwithCSS 

Languages like Arabic or Hebrew require a text direction. This selector hunts for Arabic or Hebrew [lang] usage and checks the [dir] to ensure a proper pairing

#lintHTMLwithCSS this selector hunts for the first child of a <details> and marks it if it's not a proper <summary>

argyleink's tweet image. #lintHTMLwithCSS 

this selector hunts for the first child of a &amp;lt;details&amp;gt; and marks it if it&apos;s not a proper &amp;lt;summary&amp;gt;

#lintHTMLwithCSS this selector hunts for links that might be used for phishing h/t && @mathias via mathiasbynens.github.io/rel-noopener/

argyleink's tweet image. #lintHTMLwithCSS 

this selector hunts for links that might be used for phishing

h/t  &amp;amp;&amp;amp; @mathias via mathiasbynens.github.io/rel-noopener/

a[target='_blank']:not([rel*='noopener']):not([rel*='noreferrer'])::after { content: '‼️' }



#lintHTMLwithCSS prevent page load jank and CLS by finding <img>'s missing height and width attributes

argyleink's tweet image. #lintHTMLwithCSS

prevent page load jank and CLS by finding &amp;lt;img&amp;gt;&apos;s missing height and width attributes

One more: images should be marked up with their width & height, so that browsers can infer their intrinsic size before downloading them (which they now actually do #2020) img:not([width]), img:not([height]) {filter: invert(1)} #lintHTMLwithCSS



Loading...

Something went wrong.


Something went wrong.


United States Trends