sass-site/source/code-snippets/_example-nesting.html.erb

32 lines
380 B
Plaintext
Raw Normal View History

2018-09-01 22:35:20 +02:00
<% example do %>
nav {
ul {
margin: 0;
padding: 0;
list-style: none;
}
li { display: inline-block; }
a {
display: block;
padding: 6px 12px;
text-decoration: none;
}
}
===
nav
ul
margin: 0
padding: 0
list-style: none
li
display: inline-block
a
display: block
padding: 6px 12px
text-decoration: none
<% end %>