Playgrounds
Snippets
Developers
Compiler
All
ActionScript
Ajax
AngularJS
Apache
AppleScript
ASP.NET
Bash
C
C#
C++
Coffee
CoffeeScript
ColdFusion
Command
CSS
Delphi
Django
ES6
GLSL
Grunt
Gulp
HAML
Haskell
HTML
iOS
Jade
Java
JavaScript
jQuery
JSX
Less
LUA
MDX
MySQL
Objective
Other
Pascal
Perl
PHP
Plain text
PowerShell
Processing
Progress
Prolog
Pseudocode
Python
Rails
RegExr
Ruby
SASS
Scala
Scheme
SCSS
SmallBASIC
Smarty
SQL
Stylus
SVG
Swift
TypeScript
VHDL
X++
XHTML
XML
Xojo
XSLT
New snippet
New playground
Sign up
Login
Upload
Playgrounds
Snippets
Developers
Sign up
Login
Codepad is a place for developers to share code snippets (PHP, Java, Bash, C, C++, Python and more). Create your HTML, CSS and JS Demos.
Sign up
Learn more
Please
Login
or
Register
SS
Simon Shahriveri
1
Follower
21
Snippets
Snippets
Collections
Newest
Oldest
Popular
Most comments
Most views
CSS Filters
CSS
3
18
3473
Simple PNG fix for Background Images in IE6
jQuery
0
1
3227
Set Cookie
PHP
0
0
1906
JavaScript Time Sensitive Actions
jQuery
0
3
3349
Remove Wordpress Identifying Code
PHP
0
5
1994
Wordpress Custom Excerpt Length
PHP
0
5
2122
Display Twitter Count for a specific screen name
PHP
0
4
1873
Very Simple Image Randomiser
PHP
0
1
2124
CSS Background Noise
CSS
0
8
3365
Add a Class to first element in foreach loop
PHP
0
5
5511
Cross Browser Grayscale
CSS
0
5
2550
Center an Element
jQuery
0
4
1976
Equal column height
JavaScript
0
6
1819
Create your own Selector
jQuery
0
0
1987
Using jQuery to Detect When CSS3 Animations and Transitions End
jQuery
0
3
2897
SVG to PNG fallback for Images
jQuery
0
5
5784
One page nav on and off states based on scrollTop
jQuery
0
3
2176
Easy way of swapping chunks of CSS code
CSS
0
2
1802
Get Todays date using FUEL PHP
PHP
0
1
2524
Add to Bookmarks button
jQuery
0
3
42285
Raptorize your site with a Konami Code
jQuery
0
2
2689