iKeler
iKeler

Reputation: 73

How to wrap text in image?

Hello! Can anybody explain, how to reach that effect in HTML/CSS or HTML5/CSS3/JS?

I have result just when text in image, or text on background, together don't work. Using the image, as clipping mask.

Example:

Variant one fiddle:

Variant two fiddle:

Variant three:

I need, need to combine both options

enter image description here

How I can locate text in image, and background with text together? Thanks a lot!

Links to jsFiddle code

Upvotes: 0

Views: 165

Answers (1)

Kabie
Kabie

Reputation: 10663

One simple solution could be using -webkit-mask-image.

Upvotes: 2

Related Questions