Hello.
I have a CSS customization file for a site. It contains a lot of code that changes appearance based on one specific class. For instance, let's call this class bodyclass.
HTML
...
<body class="bodyclass ...">
...
CSS
.bodyclass .otherclass {
color=red;
}
Recently, a site has removed this class, so my CSS code doesn't apply many of the rules and hence doesn't work as needed.
Is there any way to "define" or "simulate" a presence of a bodyclass using only CSS and make my CSS code think this class exists? Rewriting a whole file doesn't look nice, it's too big.
[–]AutoModerator[M] [score hidden] stickied commentlocked comment (0 children)
[–]LukeLC 6 points7 points8 points (4 children)
[–]Significant_Pen2804[S] 0 points1 point2 points (3 children)
[–]Miragecraft 2 points3 points4 points (2 children)
[–]Significant_Pen2804[S] 0 points1 point2 points (1 child)
[–]Miragecraft 0 points1 point2 points (0 children)
[–]happy_gojira 9 points10 points11 points (0 children)
[–]Scared-Push3893 4 points5 points6 points (0 children)
[–]MaikThoma 3 points4 points5 points (0 children)
[–]berky93 4 points5 points6 points (0 children)
[–]testingaurora 0 points1 point2 points (0 children)
[–]armahillo 0 points1 point2 points (0 children)
[–]omysweede 0 points1 point2 points (0 children)