0
皆さん、私を助けてくれることを願っています。私はスタイルでスタイリングを始めました。私は間違っているスタイラスコンパイル
body
clearfix()
text-align center
background url('./bgh1.jpg') no-repeat center center fixed
background-size(cover)
#gallery
margin-left 6%
width 88%
display block
margin-left auto
margin-right auto
height 500px
background black
#line1
width 980px
height 345px
background #ffffff
#col1
width 500px
height 500px
border 2px solid black
img
max-width 100%
max-height 100%
(ここでのコードだ)ギャラリーのためのdivのを書き始めるとき、それはミス
#gallery {
margin-left: 6%;
width: 88%;
}
#gallery display block {
margin-left: auto;
}
#gallery margin-right auto {
height: 500px;
background: #000;
}
#gallery margin-right auto #line1 width 980px {
height: 345px;
background: #fff;
}
#gallery margin-right auto #line1 #col1 {
width: 500px;
height: 500px;
border: 2px solid #000;
}
#gallery margin-right auto #line1 #col1 img {
max-width: 100%;
max-height: 100%;
}
の多くの私は
stylus -w views/stylesheets/styl.styl -o views/style.css