<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
<title>Snipplr</title>
<link>http://snipplr.com/language/php/tags/css</link>
<description>Recent snippets posted on Snipplr.com</description>
<language>en-us</language>
<pubDate>Fri, 24 May 2013 08:09:04 GMT</pubDate>
<item>
<title>(PHP) Compress multiple CSS files - apphp-snippets</title>
<link>http://snipplr.com/view/70086/compress-multiple-css-files/</link>
<description><![CDATA[ <p>Usually when you're using different CSS files on your site, they might take a quite long to be loaded. Using this PHP code, you can compress them into a single file with no unnecessary white spaces or comments. Why we need to compress multiple CSS files? The answer is: the compressing procedure may take a less time than a total time of loading each file separately.</p> ]]></description>
<pubDate>Mon, 25 Feb 2013 18:46:49 GMT</pubDate>
<guid>http://snipplr.com/view/70086/compress-multiple-css-files/</guid>
</item>
<item>
<title>(PHP) Using LESS in WordPress - ecksteing</title>
<link>http://snipplr.com/view/67905/using-less-in-wordpress/</link>
<description><![CDATA[ <p>How to insert the less preprocessor script in WordPress Websites and Blogs</p> ]]></description>
<pubDate>Wed, 24 Oct 2012 12:55:53 GMT</pubDate>
<guid>http://snipplr.com/view/67905/using-less-in-wordpress/</guid>
</item>
<item>
<title>(PHP) Compress any text-based content. - o0110o</title>
<link>http://snipplr.com/view/67852/compress-any-textbased-content/</link>
<description><![CDATA[ <p>This function will compress any text-based content.</p> ]]></description>
<pubDate>Sun, 21 Oct 2012 13:34:39 GMT</pubDate>
<guid>http://snipplr.com/view/67852/compress-any-textbased-content/</guid>
</item>
<item>
<title>(PHP) Custom login page changes for Wordpress - bitsculptor</title>
<link>http://snipplr.com/view/67783/custom-login-page-changes-for-wordpress/</link>
<description><![CDATA[ <p>This allows you to change the logo, title text, and url for the login logo in wordpress.</p> ]]></description>
<pubDate>Thu, 18 Oct 2012 02:16:44 GMT</pubDate>
<guid>http://snipplr.com/view/67783/custom-login-page-changes-for-wordpress/</guid>
</item>
<item>
<title>(PHP) Dummy Value Picker - vijendramisra</title>
<link>http://snipplr.com/view/63716/dummy-value-picker/</link>
<description><![CDATA[ <p>gfgd dg fgfg fg g</p> ]]></description>
<pubDate>Mon, 05 Mar 2012 19:39:49 GMT</pubDate>
<guid>http://snipplr.com/view/63716/dummy-value-picker/</guid>
</item>
<item>
<title>(PHP) Compress &amp;amp; minify CSS with php - soup</title>
<link>http://snipplr.com/view/63605/compress--minify-css-with-php/</link>
<description><![CDATA[ <p>Use always</p> ]]></description>
<pubDate>Mon, 27 Feb 2012 22:35:20 GMT</pubDate>
<guid>http://snipplr.com/view/63605/compress--minify-css-with-php/</guid>
</item>
<item>
<title>(PHP) wp_conditional css files loading - nWidart</title>
<link>http://snipplr.com/view/63586/wpconditional-css-files-loading/</link>
<description><![CDATA[ <p>wp_conditional css files loading</p> ]]></description>
<pubDate>Sun, 26 Feb 2012 20:27:52 GMT</pubDate>
<guid>http://snipplr.com/view/63586/wpconditional-css-files-loading/</guid>
</item>
<item>
<title>(PHP) Convert rgb to hex - macodev</title>
<link>http://snipplr.com/view/62816/convert-rgb-to-hex/</link>
<description><![CDATA[ <p>Convert rgb color detected by jQuery into hex value.</p> ]]></description>
<pubDate>Fri, 27 Jan 2012 22:24:38 GMT</pubDate>
<guid>http://snipplr.com/view/62816/convert-rgb-to-hex/</guid>
</item>
<item>
<title>(PHP) WordPress CSS based on page title (Conditional) - stephcode</title>
<link>http://snipplr.com/view/61055/wordpress-css-based-on-page-title-conditional/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Tue, 22 Nov 2011 09:51:50 GMT</pubDate>
<guid>http://snipplr.com/view/61055/wordpress-css-based-on-page-title-conditional/</guid>
</item>
<item>
<title>(PHP) Reference CSS to DIV ID with Square Brackets - simondiercks</title>
<link>http://snipplr.com/view/60484/reference-css-to-div-id-with-square-brackets/</link>
<description><![CDATA[ <p>escape them ("\")</p> ]]></description>
<pubDate>Wed, 02 Nov 2011 21:16:44 GMT</pubDate>
<guid>http://snipplr.com/view/60484/reference-css-to-div-id-with-square-brackets/</guid>
</item>
<item>
<title>(PHP) CSS minifier and color replaces - FatFolderDesigner</title>
<link>http://snipplr.com/view/58764/css-minifier-and-color-replaces/</link>
<description><![CDATA[ <p>With this file you can load stylesheets and minify the code while changing colors. The stylesheets are loaded using file_get_contents and you can attach them one after another if you have multiple sheets. The colors are replaces based on a variable thats commented out of the css code, an example of the way thats formatted is below the cod block. The minification is done with a regular expression that removes all comments, line breaks, and un-needed spaces. The color replacement is done with a different regular expression and the colorize function that takes the variable and returns a color. You can use whatever method you want to get the color, but I personally am using variables from a Wordpress plugin (and stores using the Wordpress options function) to give users color customizability of their site.

If you have any questions or comments you can post a comment here or at the link, there is also a more in depth explanation at the link if your interested.

UPDATE: improved it's ability to find colors in the CSS declaration, also added the "transparent" keyword in as something it can find.</p> ]]></description>
<pubDate>Sun, 18 Sep 2011 06:40:30 GMT</pubDate>
<guid>http://snipplr.com/view/58764/css-minifier-and-color-replaces/</guid>
</item>
<item>
<title>(PHP) Media Queries - macodev</title>
<link>http://snipplr.com/view/58669/media-queries/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Wed, 14 Sep 2011 15:45:15 GMT</pubDate>
<guid>http://snipplr.com/view/58669/media-queries/</guid>
</item>
<item>
<title>(PHP) Enqueue CSS - sridhar</title>
<link>http://snipplr.com/view/57412/enqueue-css/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Sun, 31 Jul 2011 04:43:23 GMT</pubDate>
<guid>http://snipplr.com/view/57412/enqueue-css/</guid>
</item>
<item>
<title>(PHP) PHP Hide CSS id/class for iPad - kbrown</title>
<link>http://snipplr.com/view/55036/php-hide-css-idclass-for-ipad/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Thu, 09 Jun 2011 03:11:27 GMT</pubDate>
<guid>http://snipplr.com/view/55036/php-hide-css-idclass-for-ipad/</guid>
</item>
<item>
<title>(PHP) Wordpress Text Widget with Class - willem</title>
<link>http://snipplr.com/view/54793/wordpress-text-widget-with-class/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Thu, 02 Jun 2011 23:37:34 GMT</pubDate>
<guid>http://snipplr.com/view/54793/wordpress-text-widget-with-class/</guid>
</item>
<item>
<title>(PHP) Super-short PHP Even / Odd Alternator - mindshare</title>
<link>http://snipplr.com/view/54760/supershort-php-even--odd-alternator/</link>
<description><![CDATA[ <p>Use this to add alternating rows in PHP.</p> ]]></description>
<pubDate>Thu, 02 Jun 2011 08:10:09 GMT</pubDate>
<guid>http://snipplr.com/view/54760/supershort-php-even--odd-alternator/</guid>
</item>
<item>
<title>(PHP) Mettere uppercase un textbox - tuffo19</title>
<link>http://snipplr.com/view/54520/mettere-uppercase-un-textbox/</link>
<description><![CDATA[ <p>Come rendere uppercase un textbox senza bisogno di js</p> ]]></description>
<pubDate>Sat, 28 May 2011 00:22:22 GMT</pubDate>
<guid>http://snipplr.com/view/54520/mettere-uppercase-un-textbox/</guid>
</item>
<item>
<title>(PHP) css minify / combine / param with PHP &amp;amp; Apache (usefull for all) - giak</title>
<link>http://snipplr.com/view/53640/css-minify--combine--param-with-php--apache-usefull-for-all/</link>
<description><![CDATA[ <p>compress &amp; combine CSS files and param theme with PHP vars</p> ]]></description>
<pubDate>Tue, 17 May 2011 07:06:00 GMT</pubDate>
<guid>http://snipplr.com/view/53640/css-minify--combine--param-with-php--apache-usefull-for-all/</guid>
</item>
<item>
<title>(PHP) Minify CSS With PHP - thefricky</title>
<link>http://snipplr.com/view/53606/minify-css-with-php/</link>
<description><![CDATA[ <p>As simple as it can be. An PHP minifier. All the credits go to his author, Kit MacAllister</p> ]]></description>
<pubDate>Mon, 16 May 2011 05:21:45 GMT</pubDate>
<guid>http://snipplr.com/view/53606/minify-css-with-php/</guid>
</item>
<item>
<title>(PHP) WordPress Random Background - ariunbolor</title>
<link>http://snipplr.com/view/52576/wordpress-random-background/</link>
<description><![CDATA[ <p>Do not forget to name images you want to use for background like 1.jpg, 2.jpg, 3.jpg etc.</p> ]]></description>
<pubDate>Tue, 26 Apr 2011 03:15:16 GMT</pubDate>
<guid>http://snipplr.com/view/52576/wordpress-random-background/</guid>
</item>
</channel>
</rss>