clip image to text with CSS



Github here

Step1:
html
Link css and font type from google Fonts

Step2:
CSS

The background is an image covered.


Make the words bolder for the background image showing.

background-clip:text --------clip the text shape from the background image.
And transparent it.

How to make text-shadow:
With pseudo class, it will be another text of the content. And it's normal to add text shadow.Be sure to transparent the content.


Popular posts from this blog

Speech text Reader with Javascript

Fancyapps — easily build overlay windows with carousel

列表浮动的局限——float:left 下一行错位