.leftSide > p {
font-size: 170px;
font-family: 'QuickSand';
text-align: end;
color: #2A2A2A;
-webkit-background-clip: text;
background-clip: text;
text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.25), -1px -1px 5px rgba(0, 0, 0, 0.25);
}
<div className={styles.leftSide}>
<p>A</p>
</div>
So I have this Figma design where i need to add inner shadow to the text.Figma Design
Here is my code so far:
.leftSide > p {
font-size: 170px;
font-family: 'QuickSand';
text-align: end;
color: #2A2A2A;
-webkit-background-clip: text;
background-clip: text;
text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.25), -1px -1px 5px rgba(0, 0, 0, 0.25);
}
<div className={styles.leftSide}>
<p>A</p>
</div>
Any idea how i can make this work because i tried some stuff but nothing to work. So i thought i might ask here for help.
Thanks in return
2
Answers
Add .leftSide class to your CSS.