Skip to content

Instantly share code, notes, and snippets.

@imEhllBdPGMVaArZ
Created April 17, 2014 09:23
Show Gist options
  • Save imEhllBdPGMVaArZ/10968003 to your computer and use it in GitHub Desktop.
Save imEhllBdPGMVaArZ/10968003 to your computer and use it in GitHub Desktop.
Generated by SassMeister.com.
// ----
// Sass (v3.3.4)
// Compass (v1.0.0.alpha.18)
// ----
@charset "utf-8";
%initial
{
border: 0 none;
font-size: 0;
line-height: 0;
}
//开始 生成 .h_gap_00 此类用于布局的类(水平方向)
@for $i from 1 through 15
{
.h_gap_#{$i * 5}
{
height: 5px * $i ;
@extend %initial;
}
}
//结束 生成 .h_gap_00 此类用于布局的类(水平方向)
//用于清除最后一个的border,margin和padding
.b_bot_n
{
border-bottom: 0 none!important;
margin-bottom: 0!important;
padding-bottom: 0!important;
}
.h_gap_5, .h_gap_10, .h_gap_15, .h_gap_20, .h_gap_25, .h_gap_30, .h_gap_35, .h_gap_40, .h_gap_45, .h_gap_50, .h_gap_55, .h_gap_60, .h_gap_65, .h_gap_70, .h_gap_75 {
border: 0 none;
font-size: 0;
line-height: 0;
}
.h_gap_5 {
height: 5px;
}
.h_gap_10 {
height: 10px;
}
.h_gap_15 {
height: 15px;
}
.h_gap_20 {
height: 20px;
}
.h_gap_25 {
height: 25px;
}
.h_gap_30 {
height: 30px;
}
.h_gap_35 {
height: 35px;
}
.h_gap_40 {
height: 40px;
}
.h_gap_45 {
height: 45px;
}
.h_gap_50 {
height: 50px;
}
.h_gap_55 {
height: 55px;
}
.h_gap_60 {
height: 60px;
}
.h_gap_65 {
height: 65px;
}
.h_gap_70 {
height: 70px;
}
.h_gap_75 {
height: 75px;
}
.b_bot_n {
border-bottom: 0 none !important;
margin-bottom: 0 !important;
padding-bottom: 0 !important;
}
<a href="#">Anchor</a>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment