"How to achieve" CSS code snippets

In the #css-themes channel @mdbraber asked:

Is it possible to color the text of a whole line with a specific #tag in it (instead of just coloring the tag?)

@Steve_yang provided code for this:

Steve allowed me to add it to the repository. You can find it in the chapter Sentences, section # Combine Nested tag colors and Highlight colors.

Github repository page link is given in the OP at the top of this page.
Enjoy.