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
CF
Charles Finsterbush
chuck@tsa-agency.com
3
Followers
60
Snippets
Snippets
Collections
Newest
Oldest
Popular
Most comments
Most views
Preloading images with CSS
CSS
2
6
1313
Gulp: Site Specific Watch w/Fallbacks
Gulp
1
3
1819
Gulp: Zip Folder for Archive
Gulp
1
0
1955
Bash - Create new Directory with Subdirectories
Bash
1
2
1113
SCSS - Intrinsic Ratio Mixin and Class Examples
SCSS
1
3
1343
SCSS: Correct use "em" with "rem" without "px"
SCSS
1
2
1398
Smooth page scroll to any # anchor
jQuery
0
2
1197
Transparent overlay on image hover
HTML
0
4
1500
Sublime Text 3 Settings
JavaScript
0
2
1178
uncommit changes on git
Bash
0
0
1126
CSS Media Queries Boilerplate
CSS
0
0
1403
Display all images in a specified directory
PHP
0
0
998
Parallax Footer
HTML
0
0
1022
ClearFix (newest edition)
CSS
0
0
1014
Settings Sublime 3
JavaScript
0
1
1007
Scroll top position
JavaScript
0
1
1117
div center / width & height
CSS
0
0
1119
Javascript: Chrome Dev Tools Console Commands
JavaScript
0
0
1127
Simple Match Height Using One Class
jQuery
0
0
1169
SCSS Micro Clear Fix
SCSS
0
0
1316
Find htaccess path
PHP
0
0
1025
sass media Queries
SASS
0
0
1160
Smooth Scroll to ID
jQuery
0
0
1062
301 Redirect
PHP
0
3
1208
Get current date with php
PHP
0
0
969
Always Up To Date Copyright Year
PHP
0
2
1072
Find out if your email has been read
PHP
0
2
916
Show all images from a folder with PHP
PHP
0
0
978
Extract keywords from a webpage
PHP
0
0
1020
PHP 5 Global Variables - Superglobals
PHP
0
0
1045
How to remove inline css code in html
jQuery
0
2
1166
Print code
PHP
0
0
980
Fetch all images from the directory
PHP
0
0
961
Fetch all images from the directory
PHP
0
0
934
Polyfill for object-fit: cover
JavaScript
0
0
1040
Bash - git helper functions
Bash
0
0
1183
Replace IMG SRC using CSS
CSS
0
0
1570
Replace IMG SRC using CSS
CSS
0
0
1683
Variable / Conditional CSS Selector
CSS
0
0
1042
jQuery Accordion
HTML
0
2
1158
Delete all git history safely
Other
0
2
1119
Find out if your email has been read
PHP
0
0
916
Find All Links on a Page
PHP
0
1
920
task gulpfile for favicon generator
Gulp
0
3
2220
Opacity SCSS Mixin
SCSS
0
2
1187
Vertical Alignment SCSS Mixin
SCSS
0
1
1235
Alignment SCSS Mixin
SCSS
0
2
1294
Maintenance-free copyright year
PHP
0
0
1046
SCSS colour variables
SCSS
0
2
1262
CSS Filters
CSS
0
0
1098
Scroll to section
jQuery
0
0
1082
SCSS: Mixin placeholder color
SCSS
0
0
1544
Favicon Code
HTML
0
0
1129
Proper Quotation Marks for Different Languages
CSS
0
2
1133
Responsive image with Picture HTML tag
HTML
0
2
1187
Centered Horizontal Menu
CSS
0
0
1202
Changing your site's favicon with Javascript
JavaScript
0
0
1155
Helpful SASS Mixins
SASS
0
1
1250
Bootstrap 3 CSS Media Queries
CSS
0
0
1309
CSS3 LESS Mixins
CSS
0
2
1093