This is the german version of my presentation on HAML, SASS and COMPASS.
I added an additional section on lesscss
1 of 184
Downloaded 15 times
More Related Content
Liebe Dein Frontend wie Dich selbst! HAML & SASS & COMPASS & less
1. Liebe Dein Frontend
wie Dich selbst.
haml & sass & compass & less
02.09.2009
Rails-Konferenz 2009
Jan Krutisch <jan.krutisch@mindmatters.de/jan_mindmatters/liebe-dein-frontend-wie-dich-selbst-haml-sass-compass-less/>
mindmatters GmbH & Co. KG
Donnerstag, 3. September 2009
25. de x .e r b
in <%= render :partial =/jan_mindmatters/liebe-dein-frontend-wie-dich-selbst-haml-sass-compass-less/> 'head' %/jan_mindmatters/liebe-dein-frontend-wie-dich-selbst-haml-sass-compass-less/>
...
<%= render :partial =/jan_mindmatters/liebe-dein-frontend-wie-dich-selbst-haml-sass-compass-less/> 'foot' %/jan_mindmatters/liebe-dein-frontend-wie-dich-selbst-haml-sass-compass-less/>
e ad .e r b
_h
<body/jan_mindmatters/liebe-dein-frontend-wie-dich-selbst-haml-sass-compass-less/>
foo t .e r b
_
</body/jan_mindmatters/liebe-dein-frontend-wie-dich-selbst-haml-sass-compass-less/>
Donnerstag, 3. September 2009
26. found via google search, source unknown
Donnerstag, 3. September 2009
27. "There must be
a better way"
Donnerstag, 3. September 2009
66. De p
re
%p== #{followers} Followers c a t
e d!
Magic!
<p/jan_mindmatters/liebe-dein-frontend-wie-dich-selbst-haml-sass-compass-less/>120231373274987476 Followers</p/jan_mindmatters/liebe-dein-frontend-wie-dich-selbst-haml-sass-compass-less/>
Donnerstag, 3. September 2009
69. %pre~ "YaynHey".downcase
Magic!
<pre/jan_mindmatters/liebe-dein-frontend-wie-dich-selbst-haml-sass-compass-less/>yay
hey</pre/jan_mindmatters/liebe-dein-frontend-wie-dich-selbst-haml-sass-compass-less/>
Donnerstag, 3. September 2009
70. %ul
- %w{one two three}.each do |word|
%li= word
Magic!
<ul/jan_mindmatters/liebe-dein-frontend-wie-dich-selbst-haml-sass-compass-less/>
<li/jan_mindmatters/liebe-dein-frontend-wie-dich-selbst-haml-sass-compass-less/>one</li/jan_mindmatters/liebe-dein-frontend-wie-dich-selbst-haml-sass-compass-less/>
<li/jan_mindmatters/liebe-dein-frontend-wie-dich-selbst-haml-sass-compass-less/>two</li/jan_mindmatters/liebe-dein-frontend-wie-dich-selbst-haml-sass-compass-less/>
<li/jan_mindmatters/liebe-dein-frontend-wie-dich-selbst-haml-sass-compass-less/>three</li/jan_mindmatters/liebe-dein-frontend-wie-dich-selbst-haml-sass-compass-less/>
</ul/jan_mindmatters/liebe-dein-frontend-wie-dich-selbst-haml-sass-compass-less/>
Donnerstag, 3. September 2009
77. / This is a comment
Magic!
<!-- This is a comment --/jan_mindmatters/liebe-dein-frontend-wie-dich-selbst-haml-sass-compass-less/>
Donnerstag, 3. September 2009
103. #main
:color #0f0
:width 300px
p
:color #030
Magic!
#main {
color: #0f0;
width: 300px; }
#main p {
color: #030; }
Donnerstag, 3. September 2009
104. a l te
#main rna
color: #0f0 t i ve
syn
width: 300px
p tax
color: #030
Magic!
#main {
color: #0f0;
width: 300px; }
#main p {
color: #030; }
Donnerstag, 3. September 2009
105. (
K旦nnte sinnvoll sein in Situationen mit
Migrationshintergrund.
)
Donnerstag, 3. September 2009
106. References
on parent
Donnerstag, 3. September 2009
107. a
color: #0f0
&:hover
color: #0ff
Magic!
a {
color: #0f0; }
a:hover {
color: #0ff; }
Donnerstag, 3. September 2009
125. .box{border-top:1px solid black;border-bottom:5px
solid black}body{background-
color:#002244}#main{color:lime;p-background-
color:lime;p-color:#000000}#main{border:1px solid
black;padding:5px}
e ss ed
c om pr
:
Donnerstag, 3. September 2009