sass-site/old_source/code-snippets/_example-nesting.html.erb
2023-01-06 17:37:45 -05:00

32 lines
430 B
Plaintext

<% 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 %>