How to create inset text shadow?
In CSS you can experiment with transparency of text color and its shadow.
For example:
h1 {
color: rgba(201, 41, 41, 0.8);
text-shadow: 0px 4px 4px #fff, 0 0 0 #000, 0px 4px 4px #fff;
font-size: 6rem;
margin-bottom: 1rem;
text-align: center;
}
<h1>Lorem ipsum</h1>
Text shadow Inset effect css3
With the text-shadow
property, you should be able to get the subtle effect that you're after:
text-shadow: 0 -1px 0 #888;
See a very basic example on jsfiddle.
Related Topics
Is Background-Position-X (Background-Position-Y) a Standard W3C CSS Property
How to Transition Width of Content With Width: Auto
How to Include View/Partial Specific Styling in Angularjs
Select All Child Elements Recursively in Css
Make the First Character Uppercase in Css
"Text-Align: Justify;" Inline-Block Elements Properly
What Does "I" Mean in a CSS Attribute Selector
Parent & Child With Position Fixed, Parent Overflow:Hidden Bug
How to Make the Items in the Last Row Consume Remaining Space in CSS Grid
Is the CSS :Not() Selector Supposed to Work With Distant Descendants
Scrolling a Flexbox With Overflowing Content
Twitter Bootstrap Multilevel Dropdown Menu
@Font-Face Src: Local - How to Use the Local Font If the User Already Has It
Wave (Or Shape) With Border on Css3
Background Image, Linear Gradient Jagged Edged Result Needs to Be Smooth Edged