Trying to make a more dynamic css so do certain styling for non english html pages, instead of having to add a css rule each time a language page is added.
Trying to turn this...
html[lang='de-DE'],html[lang='pt-br'],html[lang='ja'] { // bootstrap blocks flexbox fix .col-12.d-flex > div:first-child { display: flex; } } To work with this...
:not(html[lang='en-US']) { // bootstrap blocks flexbox fix .col-12.d-flex > div:first-child { display: flex; } } https://stackoverflow.com/questions/65526640/not-psuedoclass-for-httmllang-not-working January 01, 2021 at 09:02AM
没有评论:
发表评论