CSS Before After image with center text

SHARES

css-before-after-image-with-center-text

A cross-browser boilerplate for centering text with before after image.

The sample result is :

687474703a2f2f746f6e6a6f6f2e636f6d2f77702d636f6e74656e742f75706c6f6164732f323031332f31302f49452d382d436f6d70617469626c652e706e67

You can also view it live here :

Live Sample , Click Here

Tested on :

  1. IE 8 – 10 (Yeaah IE compatible :D) ~ IE < 8 is not supporting before after css
  2. Mozilla Firefox
  3. Chrome
  4. Opera

 

How to use it :

  1. Download the package, open index.php on sample folder
  2. Tweak your CSS According your need. The syntax is straightforward and i also have put some notes on it
  3. Standard usage :
    <div class='before-after-center'>
    <span class='wrapper'>
    <h4>Beautifull Center Heading with before after ornament</h4>
    </span>
    </div>
    

Question and support

Please use the github issues forum : https://github.com/todiadiyatmo/css-before-after-image-with-center-text/issues

Download Link

Source code download

Updated on November 6, 2017 by

Comments

No comments entry.

LEAVE A REPLY

Lets Work Together!

Create your ideal website with us.