-
Beta Was this translation helpful? Give feedback.
Answered by
yhatt
Nov 11, 2025
Replies: 1 comment
-
|
Check out #49. TL;DR: Use 
<style scoped>
section::before {
content: 'Text Overlay Example';
position: absolute;
bottom: 30px;
left: 30px;
font-size: 20px;
background: rgb(0 0 0 / 0.8);
color: white;
border-radius: 4px;
padding: 4px 10px;
}
</style> |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
sbibauw
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment

Check out #49. TL;DR: Use
section::beforepseudo-element.