Welcome To Snipplr


Everyone's Recent PHP Snippets Tagged css



« Prev 1 2
In this article I would like to share how to make a sortable index view with Laravel 4. Let’s assume you have an index view with a table. Like this example for a table that contains posts.
0 823 posted 10 years ago by CreativePunch
Für functions.php
1 959 posted 11 years ago by gabbo
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 fi...
0 771 posted 11 years ago by apphp-snippets
How to insert the less preprocessor script in WordPress Websites and Blogs
0 852 posted 12 years ago by ecksteing
This function will compress any text-based content.
1 756 posted 12 years ago by o0110o
This allows you to change the logo, title text, and url for the login logo in wordpress.
1 1005 posted 12 years ago by bitsculptor
gfgd dg fgfg fg g
0 566 posted 12 years ago by vijendramisra
Use always
0 811 posted 12 years ago by soup
wp_conditional css files loading
0 730 posted 12 years ago by nWidart
Convert rgb color detected by jQuery into hex value.
0 913 posted 12 years ago by macodev
escape them ("\")
0 787 posted 13 years ago by simondiercks
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 t...
0 839 posted 13 years ago by FatFolderDesigner
0 775 posted 13 years ago by kbrown
0 889 posted 13 years ago by willem
Use this to add alternating rows in PHP.
0 717 posted 13 years ago by mindshare
Come rendere uppercase un textbox senza bisogno di js
0 878 posted 13 years ago by tuffo19
compress & combine CSS files and param theme with PHP vars
0 1058 posted 13 years ago by giak
As simple as it can be. An PHP minifier. All the credits go to his author, Kit MacAllister
0 747 posted 13 years ago by thefricky
Do not forget to name images you want to use for background like 1.jpg, 2.jpg, 3.jpg etc.
0 641 posted 13 years ago by ariunbolor
This adds the class "not-home" to your body_class in Wordpress. Handy if you want to reset CSS from the index page.
1 671 posted 13 years ago by ethicka
Date format guide: d = 01 to 12 ; m = 01 to 12 ; More formats: http://php.net/manual/en/function.date.php
1 784 posted 13 years ago by sdxxx
0 855 posted 13 years ago by zepner
There seems to be many scan directory systems but I could not find one that works the way I needed. I added in functionality for a search filter and an ignore list. The search filter and ignore list can ignore by extension, file (case-sensitive file...
1 1146 posted 13 years ago by SoN9ne
The code is not particularly pretty but it does the job. If you call this file css.php you can call it like this: css.php?files=reset,style,iefix&minify=yes
1 948 posted 14 years ago by Sverri
Paste the code in a file named style.php. Don’t forget to include your css files . Once done, open your HTML document and import style.php as you’ll import a css stylesheet.
3 880 posted 14 years ago by math89
Start your CSS files with the following PHP (and name it style.php) include it with: <link>
0 741 posted 14 years ago by yves
Aimed at designers who want to sprinkle in a little PHP to make development easier. If building/prototyping a site with HTML/PHP, this can save time by constructing the navigation list on the fly, based on re-usable navigation settings. Usage: Ass...
0 649 posted 14 years ago by rareyman
To use it, simply create a new folder called “art-direction” in your theme. Then to style any particular Post or Page, just drop a file in that folder named style-XXXX.css where XXXX is the ID of the Post or Page. When that Post or Page loads, Wo...
0 784 posted 14 years ago by gd6d
« Prev 1 2