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
M
Manson
1
Follower
24
Snippets
Snippets
Collections
Newest
Oldest
Popular
Most comments
Most views
Generating random numbers
JavaScript
0
5
3162
shuffleArray
JavaScript
0
1
1686
Font Smoothing
CSS
0
15
2586
Detecting 'transform: translate3d' support
JavaScript
0
2
2755
Edit HTML in div
HTML
1
7
2434
CSS(webkit) filters
CSS
0
12
9610
Hide address bar
JavaScript
0
6
2171
iPad-Specific CSS
CSS
0
5
1996
iPhone Touch Events in JavaScript
JavaScript
0
2
2950
Flip an Image
CSS
0
3
1506
Cross Browser Opacity
CSS
0
1
1588
CSS Triangle
CSS
0
4
2164
Password Strength
jQuery
1
8
2883
Image Preloader
jQuery
0
5
2786
HTML5 video detech play end and auto paly
jQuery
0
1
3059
@media
CSS
0
2
1704
Dealing with internet explorer
CSS
0
1
1575
MatchMedia
JavaScript
0
1
2880
ipad css animations cause flicker
CSS
0
1
2233
Media Queries for Standard Devices
CSS
0
4
1708
Mobile Detech
JavaScript
0
1
2874
Scale fix for iPhone/iPad orientation change
JavaScript
0
4
2734
Detect Orientation
JavaScript
0
3
2700
Scroll bottom detech
jQuery
1
4
2803