Nice one. Reminds me of using border: 1px solid red as a debug tool.
border: 1px solid red
This could be nice in a separate stylesheet for development environment only. Don't want to broadcast I'm an idiot on my site 😁
Oh very much a development only stylesheet!
I personally have it linked to my environment settings so I can't accidentally include it in production!
However the second part of this system is for production and development as it just stops developers doing things wrong!
For a simple example: <div class="btn-large" just won't work as the selector is for button.btn-large, a.btn-large!
<div class="btn-large"
button.btn-large, a.btn-large
More on that in the next post! 😉❤
Are you sure you want to hide this comment? It will become hidden in your post, but will still be visible via the comment's permalink.
Hide child comments as well
Confirm
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Nice one. Reminds me of using
border: 1px solid red
as a debug tool.This could be nice in a separate stylesheet for development environment only. Don't want to broadcast I'm an idiot on my site 😁
Oh very much a development only stylesheet!
I personally have it linked to my environment settings so I can't accidentally include it in production!
However the second part of this system is for production and development as it just stops developers doing things wrong!
For a simple example:
<div class="btn-large"
just won't work as the selector is forbutton.btn-large, a.btn-large
!More on that in the next post! 😉❤