Quantcast
Channel: Sandbox the console separately? - Meta Stack Overflow
Viewing all articles
Browse latest Browse all 4

Answer by jpmc26 for Sandbox the console separately?

$
0
0

I don't think this is worth spending time implementing. You shouldn't be globally assigning a style to div in professional code, anyway. As I understand it (as a developer not focused on HTML/CSS/JS), this would be very bad form since the div element is so generic. Just use a class. It's simple and will actively improve your post.

console.log("Hello.");console.log("OMG. See how big?");
.myclass {  border: 1px dashed #f90;  background: #fc6;  line-height: 5;  text-align: center;}

Viewing all articles
Browse latest Browse all 4

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>