I see the point. But often the contents of a social media teaser and the ones on the DOM of the site have different ways to talk.
I see the point. But often the contents of a social media teaser and the ones on the DOM of the site have different ways to talk.
In #CSS Devs use way to often class names. Patterns like BEM have encouraged an explosion of class names, that often rely on Javascript to be updated.
Using pseudo classes, and semantic attributes helps us to work closer with the DOM.
In #CSS Devs use way to often class names. Patterns like BEM have encouraged an explosion of class names, that often rely on Javascript to be updated.
Using pseudo classes, and semantic attributes helps us to work closer with the DOM.
#customElements #webcomponents
#customElements #webcomponents
There isn’t any reason to not treat them consistently. Including their focus behaviors, keyboard and voice controls.
There isn’t any reason to not treat them consistently. Including their focus behaviors, keyboard and voice controls.
event.source.dataset.fileFormat
is just a little longer. As soon as you start handling multiple values this seems to be a robust pattern.
event.source.dataset.fileFormat
is just a little longer. As soon as you start handling multiple values this seems to be a robust pattern.
Since I didn’t find a way to pass arguments in the docs I use data attributes and read them with the events source. A really handy technique.
Since I didn’t find a way to pass arguments in the docs I use data attributes and read them with the events source. A really handy technique.
How would you call it?
#webcomponents #html
How would you call it?
#webcomponents #html
Nein! Doch! ooooh!
www.queer.de/detail.php?a...
Nein! Doch! ooooh!
www.queer.de/detail.php?a...
How would that look like?
An invoker command jumps to mind.
Though I am not sure if there is a way to hide/disable a button in case the command is impossible.
How would that look like?
An invoker command jumps to mind.
Though I am not sure if there is a way to hide/disable a button in case the command is impossible.
developer.chrome.com/docs/css-ui/...
developer.chrome.com/docs/css-ui/...
TLDR: For me scroll-button are elements provided by the browser similar to the thumb and track of the scrollbar. With stylesheets we just help the browser to integrate them smoothly into our UI.
TLDR: For me scroll-button are elements provided by the browser similar to the thumb and track of the scrollbar. With stylesheets we just help the browser to integrate them smoothly into our UI.