Created By Razvan Balosin
Splitchar
How to use
<h1 class="splitchar horizontal">Splitchar</h1>
Make sure you add the desired style after splitchar, which are: (horizontal, horizontal-tri, vertical, vertical-tri)
<link rel="stylesheet" type="text/css" href="css/splitchar.css">
<script src="http://code.jquery.com/jquery-latest.min.js"></script>
<script type="text/javascript" src="js/splitchar.js"></script>
$(document).ready(function(){
$(".splitchar").splitchar();
});
Customizing
/* Horizontal */
.horizontal { /* Base CSS - e.g font-size */ }
.horizontal:before { /* CSS for the left half */ }
.horizontal:after { /* CSS for the right half */ }
/* Horizontal Triple */
.horizontal-tri { /* Base CSS + Middle style */ }
.horizontal-tri:before { /* CSS for the left side */ }
.horizontal-tri:after { /* CSS for the right side */ }
/* Vertical */
.vertical { /* Base CSS */ }
.vertical:before { /* CSS for the upper half */ }
.vertical:after { /* CSS for the lower half */ }
/* Vertical Triple */
.vertical-tri { /* Base CSS + Lower half */ }
.vertical-tri:before { /* CSS for the middle part */ }
.vertical-tri:after { /* CSS for the upper part */ }
You can do anything you want with Splitchar. It's up to you :)
Download on GitHub