This time I will share jQuery Plugin and tutorial about jQuery Plugin To Create CSS3 Based Corner Effects – Corners.js, hope it will help you in programming stack.
Corners.js is a lightweight jQuery plugin that helps you apply various types of corner effects to any block elements using several CSS3 properties.
Corner effects supported:
How to use it:
1. Make sure the Corners.js
is loaded after JQuery library.
1 |
< script src = "//code.jquery.com/jquery.min.js" ></ script > |
2 |
< script src = "Corners.js" ></ script > |
2. Just call the function Corners()
on the target container and we’re done.
1 |
$( '#container' ).jCorners(); |
3. Customize the corner effect.
1 |
$( '#container' ).jCorners({ |
2 |
'style' : '' beveled ', // folded, scoop |
This awesome jQuery plugin is developed by WJane. For more Advanced Usages, please check the demo page or visit the official website.