CSS :Optional

CSS :Optional

davidwalsh.name davidwalsh.name1 month ago in #Dev Love29

A decade in the past HTML and CSS added the facility to, no less than sign, validation of shape fields. The required characteristic helped tell customers which fields have been required, whilst trend allowed builders to offer a typical expression to compare in opposition to an ‘s price. Targeting required fields and validation values with simply CSS and HTML used to be very helpful. Did you recognize that CSS supplies :not obligatory to mean you can taste shape parts that aren’t required? enter:not obligatory, make a choice:not obligatory, textarea:not obligatory { border: 1px forged #eee; } [required] { border: 1px forged pink; } In a way, it appears like :not obligatory represents :now not([required]), however :not obligatory is restricted to simply shape fields. Recent Features Send Text Messages with PHP Kids at the moment, I inform ya.  All they care about is the generation.  The video video games.  The bottled water.  Oh, and the texting, at all times the texting.  Back in my day, all we had used to be…OK, I had all of this stuff too.  But I nonetheless don’t get… Chris Coyier’s Favorite CodePen Demos David requested me if I’d be up for a visitor publish selecting out a few of my favourite Pens from CodePen. A frightening process! There are such a lot of! I controlled to select a couple of despite the fact that that experience blown me away over the last few months. If you… Incredible Demos Introducing LazyLoad 2.0 While enhancements in browsers manner extra cool APIs for us to play with, it additionally manner we wish to take care of current code.  With Firefox 4’s unlock got here information that my MooTools LazyLoad plugin used to be now not intercepting symbol loading — the photographs have been loading without reference to… MooTools ASCII Art I didn’t notice that I in reality used to be a nerd till I may just admit to myself that ASCII artwork used to be higher than the items Picasso, Monet, or Van Gogh may just create.  ASCII artwork is unequalled in its attractiveness, simplicity, and … OK, neatly, I’m being ridiculous;  ASCII… Love  » Read More

Like to keep reading?

This article first appeared on davidwalsh.name. If you'd like to keep reading, follow the white rabbit.

View Full Article

Leave a Reply