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 214 posted 6 years ago by CreativePunch
Für functions.php
1 222 posted 7 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 152 posted 7 years ago by apphp-snippets
How to insert the less preprocessor script in WordPress Websites and Blogs
0 199 posted 8 years ago by ecksteing
This function will compress any text-based content.
1 154 posted 8 years ago by o0110o
This allows you to change the logo, title text, and url for the login logo in wordpress.
1 224 posted 8 years ago by bitsculptor
gfgd dg fgfg fg g
0 104 posted 8 years ago by vijendramisra
Use always
0 136 posted 8 years ago by soup
wp_conditional css files loading
0 144 posted 8 years ago by nWidart
Convert rgb color detected by jQuery into hex value.
0 200 posted 8 years ago by macodev
escape them ("\")
0 165 posted 9 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 160 posted 9 years ago by FatFolderDesigner
0 154 posted 9 years ago by kbrown
0 184 posted 9 years ago by willem
Use this to add alternating rows in PHP.
0 126 posted 9 years ago by mindshare
Come rendere uppercase un textbox senza bisogno di js
0 149 posted 9 years ago by tuffo19
compress & combine CSS files and param theme with PHP vars
0 210 posted 9 years ago by giak
As simple as it can be. An PHP minifier. All the credits go to his author, Kit MacAllister
0 157 posted 9 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 136 posted 9 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 122 posted 9 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 150 posted 9 years ago by sdxxx
0 175 posted 9 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 259 posted 9 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 213 posted 10 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 185 posted 10 years ago by math89
Start your CSS files with the following PHP (and name it style.php) include it with: <link>
0 135 posted 10 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 121 posted 10 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 144 posted 10 years ago by gd6d
« Prev 1 2