Posted By

bdiddymc on 01/25/11


Tagged

curl css class page shadow less


Versions (?)

Who likes this?

9 people have marked this snippet as a favorite

dattaproffs
f1r3fl3x
jackomono
wirenaught
variantstudios
secretgspot
shalomfriss
ringo380
Beppoi


LESS - Page Curl


 / Published in: CSS
 

A LESS class which can be included to easily allow for a page-curl/shadow on element.

NOTE: Still needs work to allow for consistency at various sizes...

Usage Instructions

  • To remove reliance on javascript, setup the LESS compiler:

  • Import the class into the master stylesheet: @import: url(classes.less);

  • Use page curl on specific elements: .block-item { height: 100px; width: 300px; .page-curl(); }

Report this snippet  

You need to login to post a comment.