Skip to content

Instantly share code, notes, and snippets.

@sivacchi
sivacchi / SassMeister-input.scss
Last active August 29, 2015 13:56
Generated by SassMeister.com.
.wrap {
$bd_width : 15px;
width: 960px;
border: $bd_width solid #000;
> div {
float: left;
width: (960px - $bd_width * 2) / 3;
}
}
@sivacchi
sivacchi / while.css
Last active August 29, 2015 13:56
Generated by SassMeister.com.
.mb10 {
margin-bottom: 10px;
}
.mb20 {
margin-bottom: 20px;
}
.mb30 {
margin-bottom: 30px;
@sivacchi
sivacchi / if.css
Last active August 29, 2015 13:56
Generated by SassMeister.com.
p {
background-color: #333333;
color: #FFF;
}
ul {
background-color: #efefef;
color: #000;
}
@sivacchi
sivacchi / line_comment.css
Last active August 29, 2015 13:56
Generated by SassMeister.com.
#gNav li {
width: 240;
}
@sivacchi
sivacchi / mixin_variable.css
Last active August 29, 2015 13:56
Generated by SassMeister.com.
.boxA {
margin: 20px;
padding: 10px;
color: #595959;
}
.boxB {
margin: 20px;
padding: 20px;
color: #595959;
@sivacchi
sivacchi / variable_calc_color.css
Last active August 29, 2015 13:56
Generated by SassMeister.com.
h1 {
background-color: #527a7a;
}
h2 {
border-left: 5px solid #5c8a8a;
}
h3 {
border-bottom: 1px solid #366363;
# Require any additional compass plugins here.
# Set this to the root of your project when deployed:
http_path = "/"
css_dir = "css"
sass_dir = "_scss"
images_dir = "img"
javascripts_dir = "javascripts"
# 出力形式を指定してください。コマンドオプションで上書きもできます。
@sivacchi
sivacchi / cal_variable.css
Last active August 29, 2015 13:56
Generated by SassMeister.com.
.wrap {
width: 960px;
border: 15px solid black;
}
.wrap > div {
float: left;
width: 310px;
}
@sivacchi
sivacchi / color_calc.css
Last active August 29, 2015 13:56
Generated by SassMeister.com.
button {
background: #669999;
}
button:hover {
background: #3d5c5c;
}
@sivacchi
sivacchi / number_calc.css
Last active August 29, 2015 13:56
Generated by SassMeister.com.
.wrap {
width: 960px;
border: 15px solid #000;
}
.wrap > div {
float: left;
width: 310px;
}