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
Three Lines
SCSS
0
0
949
Extend/Inheritance
SCSS
0
1
852
Mixins
SCSS
0
1
1022
Lightweight Nestable Grid
SCSS
0
1
963
if else
SCSS
0
0
954
Rem fallback mixin
SCSS
0
4
1204
font mixin SCSS
SCSS
0
1
1130
Viewport based (responsive) unit sizing function
SCSS
0
3
1094
SASS Sequential Animation Delay Mixin
SCSS
0
3
1916
Color Palette Functions
SCSS
2
2
1236
SCSS Rem Calc
SCSS
0
3
2260
Transition a transformed object without blurry / jumpy text
SCSS
0
3
1393
SCSS Micro Clear Fix
SCSS
0
0
1012
SCSS - Intrinsic Ratio Mixin and Class Examples
SCSS
1
3
1034
Opacity SCSS Mixin
SCSS
0
2
919
Vertical Alignment SCSS Mixin
SCSS
0
1
961
Alignment SCSS Mixin
SCSS
0
2
991
SCSS colour variables
SCSS
0
2
982
SCSS: Mixin placeholder color
SCSS
0
0
1267
SCSS: Correct use "em" with "rem" without "px"
SCSS
1
2
1097