Should a deeper-nested style specification inherit the colors/style of its parent?
See original GitHub issueI have question related to jQuery Terminal
This may be a bug, or it may be a bug in my expectations. I would expect that a string like this:
[[;green;black]This text is green but [[u;;]this text is green and underlined] and this is green]
Would produce text that is all green/black, with an underlined section in the middle. However, the underlined text is the default text color.
Is this working as intended?
Issue Analytics
- State:
- Created 4 years ago
- Comments:13 (8 by maintainers)
Top Results From Across the Web
CSS Inheritance: An Introduction - SitePoint
Asha Laxmi introduces and explains what CSS inheritance is, how it helps ... they will start inheriting the color of their parents:
Read more >Why doesn't my child element inherit color from its parent ...
The reason this happens is due to inheritance, not specificity. Look at it this way, if the span didn't have that class, it...
Read more >4. Saving Time with Style Inheritance - CSS - O'Reilly
Saving Time with Style Inheritance Children inherit traits from their parents—eye color, height, male-pattern baldness, and so on.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
released in 2.8.0
You can now use this:
it will be converted to (by nested formatting):
and remove bold from text
" world"
, and" from js"
will be bold.