![]() |
Less css library - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20) +--- Forum: Archived Libraries & Helpers (https://forum.codeigniter.com/forumdisplay.php?fid=22) +--- Thread: Less css library (/showthread.php?tid=53280) |
Less css library - El Forum - 07-17-2012 [eluser]Romyblack[/eluser] Hi everyone, Today I'll share with you this library I've made for a project. The library has the documentation inside but here it is anyway. NOTE:This library implements the class created by Leaf Corcoran [http://leafo.net] Quote:Note: If you find this library helpful please say thanks and share it with people you know need this. Documentation This class lets you to implement the Less languaje in your own server. *1)Use the same documentation to create the files at. http://lesscss.org *2)Compress your css. *3)Cache your css. Implementation *1)Create a controller with the name [css.php] with this code. Code: <?php if ( ! defined('BASEPATH')) exit('No direct script access allowed'); *3)Create a .css file with the name style.css and paste this code. Code: @bg_color: #000000; *5)When the css is ready to production i recommend to uncomment the line below to enable caching. Code: $this->output->cache(999999); Quote:Tags: Less, CI_Lesscss, LessCss, Less css, Codeigniter, Romyblack Here's the link : Download Less css library Save at \application\libraries\Less_css.php Less css library - El Forum - 02-07-2013 [eluser]Elric[/eluser] Excellent Work!! Thank you for sharing!! Less css library - El Forum - 07-18-2013 [eluser]quickshiftin[/eluser] Very cool! |