Recently I needed a PHP script to minify my CSS files. There are many tools out there but the process was complex.
So I did found a PHP function that compress the CSS files. The process is done using preg_replace PHP function.
In order to save your precious bandwidth, you should compress your css files. Doing so is not hard at all using this snippet.
Like I told you. This week I will come up with a new tutorial.
This time it’s an HTML5 and CSS3 layout.
You will probably say there are a lot of html5 and css3 layouts out there what yours can do.
Pretty simple not only the fact that is build in html5 but it’s resizable. So basically using a layout like this you wont need a dedicated mobile version like major sites have. You will see what I’m talking about.
You can see the full demo layout here.This is how the layout design looks. It’s not much but the design doesn’t matter as long as he does his job.