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
Sort
Popular
Most liked
Most recent
Time
Today
Last week
Last month
Last year
All time
Select Languages
ActionScript
Ajax
AngularJS
Apache
AppleScript
ASP.NET
Bash
C
C#
C++
ColdFusion
Command
CSS
Delphi
Django
Grunt
Gulp
HAML
HTML
iOS
Jade
Java
JavaScript
jQuery
Less
MySQL
Objective
Other
Pascal
Perl
PHP
PowerShell
Processing
Prolog
Pseudocode
Python
Rails
RegExr
Ruby
SASS
Scala
Scheme
Smarty
SQL
Swift
VHDL
XHTML
XML
Xojo
XSLT
SCSS
CoffeeScript
GLSL
Progress
Stylus
ES6
Coffee
TypeScript
X++
Haskell
SmallBASIC
JSX
SVG
Plain text
LUA
MDX
Apply
Reset
popular • SCSS
SCSS media query mixin
SCSS
0
0
2535
SCSS Hight DPI mixin
SCSS
1
0
2047
SCSS ellipsis mixin
SCSS
0
10
4235
SCSS right-to-left mode
SCSS
0
1
1775
SCSS useful form elements variables
SCSS
0
0
2364
SCSS font-size and line-height mixin
SCSS
0
2
3720
SCSS: Mixin placeholder color
SCSS
0
5
2348
SASS mixin for Transition and Opacity
SCSS
0
2
2459
SCSS: Correct use "em" with "rem" without "px"
SCSS
0
16
11719
SCSS: Center element without dimmension, only with width/height, with width and height
SCSS
2
6
3195
SCSS: Z-index map
SCSS
3
13
3795
SCSS Hexagon Mixin
SCSS
1
3
2392
Anchor offset
SCSS
0
0
2266
Mixin selection
SCSS
0
0
1704
Mixin keyframes
SCSS
0
0
1773
Mixin absolute center
SCSS
0
0
1977
Mixin for @font-face
SCSS
0
1
2271
Media queries shortcut
SCSS
0
0
1970
Parallax background image scroll
SCSS
0
2
2029
SCSS Flexbox Grid
SCSS
0
3
2047