View Single Post
Old 09-17-2019, 05:03 PM   #12
rjwse@aol.com
Addict
rjwse@aol.com ought to be getting tired of karma fortunes by now.rjwse@aol.com ought to be getting tired of karma fortunes by now.rjwse@aol.com ought to be getting tired of karma fortunes by now.rjwse@aol.com ought to be getting tired of karma fortunes by now.rjwse@aol.com ought to be getting tired of karma fortunes by now.rjwse@aol.com ought to be getting tired of karma fortunes by now.rjwse@aol.com ought to be getting tired of karma fortunes by now.rjwse@aol.com ought to be getting tired of karma fortunes by now.rjwse@aol.com ought to be getting tired of karma fortunes by now.rjwse@aol.com ought to be getting tired of karma fortunes by now.rjwse@aol.com ought to be getting tired of karma fortunes by now.
 
rjwse@aol.com's Avatar
 
Posts: 329
Karma: 2228060
Join Date: Dec 2013
Location: LaVernia, Texas
Device: kindle epub readers on android
I was completely smitten by the brevity of the descendant combinator such as:

<style>
.dash {list-style: none;}
.dash li:before { content: " — "; margin-left: -2em;}
</style>

This puts a dash instead of a number or a bullet in front of <li> if surrounded by either <ol> or <ul>.

You can even use * to denote any tag enclosed by the class:
<style>
.whatever * {
do:this; do:that;
}</style>

I'm confused on how combinators, tags, and classes get put into alphabetical order.

Best regards, Pop
Attached Thumbnails
Click image for larger version

Name:	Screenshot from 2019-09-17 15-48-18.png
Views:	238
Size:	426.4 KB
ID:	173520  
rjwse@aol.com is offline   Reply With Quote