CSS-Selektor gesucht
bearbeitet von
@@Sampo
> > ~~~css
> > img:not([width]) { width:100%; }
> > ~~~
> Das war so klar, dass ich es auf Anhieb verstanden habe und es funktioniert bestens ;-)
> Danke!
Dann kannst du ja gleich noch
~~~css
img:not([alt]) { outline: 0.5em red }
~~~
ergänzen und damit eine [gute Tat](https://twitter.com/g16n/status/717348095844085760) tun.
LLAP 🖖
--
_“The best way to help people learn: answer their coding question an hour later, they’ll have likely figured it out by then.”_{: lang="en"} —Todd Motto
_[Selfcode](http://community.de.selfhtml.org/fanprojekte/selfcode.htm): `sh:) fo:} ch:? rl:) br:> n4:& va:| de:> zu:} fl:{ ss:| ls:# js:|`_{: style="display: block; font-size: 0.875em; font-style: inherit; margin-top:1.5em"}