en.javascript.info/2-ui/2-events/01-introduction-browser-events/07-carousel/source.view/style.css
Ilya Kantor ab9ab64bd5 up
2017-03-21 14:41:49 +03:00

38 lines
544 B
CSS

.arrow {
padding: 0;
background: #ddd;
border-radius: 15px;
border: 1px solid gray;
font-size: 24px;
line-height: 24px;
color: #444;
display: block;
}
.arrow:focus {
outline: none;
}
.arrow:hover {
background: #ccc;
cursor: pointer;
}
ul {
height: 130px;
width: 9999px;
margin: 0;
padding: 0;
list-style: none;
font-size: 0;
}
ul img {
width: 130px;
height: 130px;
display: block; /* removes extra space near images */
}
ul li {
display: inline-block; /* removes extra space between list items
}