Update format
This commit is contained in:
@ -5,6 +5,10 @@ tags: visual,intermediate
|
||||
|
||||
Creates an effect where text appears to be "etched" or engraved into the background.
|
||||
|
||||
- `text-shadow: 0 2px white` creates a white shadow offset `0px` horizontally and `2px` vertically from the origin position.
|
||||
- The background must be darker than the shadow for the effect to work.
|
||||
- The text color should be slightly faded to make it look like it's engraved/carved out of the background.
|
||||
|
||||
```html
|
||||
<p class="etched-text">I appear etched into the background.</p>
|
||||
```
|
||||
@ -17,9 +21,3 @@ Creates an effect where text appears to be "etched" or engraved into the backgro
|
||||
color: #b8bec5;
|
||||
}
|
||||
```
|
||||
|
||||
#### Explanation
|
||||
|
||||
- `text-shadow: 0 2px white` creates a white shadow offset `0px` horizontally and `2px` vertically from the origin position.
|
||||
- The background must be darker than the shadow for the effect to work.
|
||||
- The text color should be slightly faded to make it look like it's engraved/carved out of the background.
|
||||
|
||||
Reference in New Issue
Block a user