View Single Post
Old 08-08-2020, 12:51 PM   #12
hobnail
Running with scissors
hobnail ought to be getting tired of karma fortunes by now.hobnail ought to be getting tired of karma fortunes by now.hobnail ought to be getting tired of karma fortunes by now.hobnail ought to be getting tired of karma fortunes by now.hobnail ought to be getting tired of karma fortunes by now.hobnail ought to be getting tired of karma fortunes by now.hobnail ought to be getting tired of karma fortunes by now.hobnail ought to be getting tired of karma fortunes by now.hobnail ought to be getting tired of karma fortunes by now.hobnail ought to be getting tired of karma fortunes by now.hobnail ought to be getting tired of karma fortunes by now.
 
Posts: 1,593
Karma: 14328510
Join Date: Nov 2019
Device: none
Quote:
Originally Posted by Turtle91 View Post
It may not be 'better' but it makes the code a little simpler/shorter... I don't need to see the word 'block' on every div...I already know it's a block because it's in a div tag.
That's true but something in my brain prefers to have things explicitly laid out.

Quote:
Originally Posted by Turtle91 View Post
As long as the common stuff is listed first, any specific changes listed below have priority.
My understanding is that the unadorned div could be at the bottom and would still have lower precedence and be overridden by the ones above.
hobnail is offline   Reply With Quote