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 121 posted 6 years ago by CreativePunch
Für functions.php
1 121 posted 6 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 85 posted 7 years ago by apphp-snippets
How to insert the less preprocessor script in WordPress Websites and Blogs
0 98 posted 7 years ago by ecksteing
This function will compress any text-based content.
1 76 posted 7 years ago by o0110o
This allows you to change the logo, title text, and url for the login logo in wordpress.
1 117 posted 7 years ago by bitsculptor
gfgd dg fgfg fg g
0 48 posted 8 years ago by vijendramisra
Use always
0 77 posted 8 years ago by soup
wp_conditional css files loading
0 71 posted 8 years ago by nWidart
Convert rgb color detected by jQuery into hex value.
0 101 posted 8 years ago by macodev
escape them ("\")
0 79 posted 8 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 82 posted 8 years ago by FatFolderDesigner
0 83 posted 9 years ago by kbrown
0 101 posted 9 years ago by willem
Use this to add alternating rows in PHP.
0 72 posted 9 years ago by mindshare
Come rendere uppercase un textbox senza bisogno di js
0 78 posted 9 years ago by tuffo19
compress & combine CSS files and param theme with PHP vars
0 106 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 83 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 66 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 71 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 75 posted 9 years ago by sdxxx
0 95 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 144 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 119 posted 9 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 92 posted 9 years ago by math89
Start your CSS files with the following PHP (and name it style.php) include it with: <link>
0 69 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 57 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 71 posted 10 years ago by gd6d
« Prev 1 2