Reputation: 211
I want to format the size of the text inside of a ::after
pseudo element.
div{
width: 200px;
height: 200px;
background-color: tomato;
}
#Seite1::after,
.DivTableRotated::after {
content: "Die Prüfergebnisse beziehen sich ausschließlich auf die Prüfgegenstände. Die auszugsweise Vervielfältigung des Berichts ist nicht zulässig.";
}
<div id="Seite1"></div>
Upvotes: -1
Views: 419
Reputation: 608
You can style it just as any other element. Below is provided simple example. If there is something more specific you want to change, please comment or update your post.
div{
width: 200px;
height: 200px;
background-color: tomato;
}
#Seite1::after,
.DivTableRotated::after {
content: "Die Prüfergebnisse beziehen sich ausschließlich auf die Prüfgegenstände. Die auszugsweise Vervielfältigung des Berichts ist nicht zulässig.";
font-size: 12px;
font-family: sans-serif;
color: green;
}
<div id="Seite1"></div>
Upvotes: 0