en.javascript.info/02-ui/05-widgets/04-template-lodash/03-menu-template/solution/menu.css
Ilya Kantor f301cb744d init
2014-10-26 22:10:13 +03:00

20 lines
No EOL
324 B
CSS
Executable file

.menu ul {
display: none;
margin: 0;
}
.menu .title {
font-weight: bold;
cursor: pointer;
background: url(http://js.cx/clipart/arrow-right.png) left center no-repeat;
padding-left: 18px;
}
.menu.open ul {
display: block;
}
.menu.open .title {
background-image: url(http://js.cx/clipart/arrow-down.png);
}