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
CSS Tricks
26
snippets by
Avan C.
SCSS: Correct use "em" with "rem" without "px"
SCSS
0
16
9826
CSS Blend Modes
CSS
0
4
1279
Gradient Borders in CSS
CSS
0
10
1820
Object Fit in CSS
CSS
0
3
1336
position: sticky in CSS
CSS
1
5
1520
Using Hardware Acceleration in CSS
CSS
2
14
4082
Unicode Classes in CSS
CSS
0
5
1227
Margins in Firefox Buttons
CSS
0
4
1209
Parallax background image scroll
SCSS
0
2
1179
Vertical align via table display
CSS
0
3
810
Useful SCSS Hierarchy and BEM Naming
SCSS
0
4
866
Avoid break on submenu
CSS
2
3
804
Sprite with mixins in Stylus
CSS
0
2
1050
List of CSS cursor properties
CSS
0
7
2643
SCSS Media Queries Mixin
SCSS
0
2
1112
SCSS Font Smoothing Mixin
SCSS
0
8
1663
Centering Genesis Responsive Slider Excerpt
CSS
0
1
1735
Full Screen Search Box CSS
CSS
0
1
1863
Placeholder fade effect
CSS
0
0
686
Placeholder color
CSS
0
4
801
Border Radius SCSS Mixin
SCSS
1
2
917
Alignment SCSS Mixin
SCSS
0
1
685
Rem fallback mixin
SCSS
0
4
804
Perfect Full Page Background Image
CSS
4
19
2362
Basic CSS Grid System
CSS
1
7
1422
CSS star rating
HTML
1
6
1281