Saturday, November 22, 2014

Simple Unordered List



<ul class="list">
  <li><a href="#">Sarapan Pagi</a></li>
  <li><a href="#">Berangkat Kerja</a></li>
  <li><a href="#">Makan Siang</a></li>
  <li><a href="#">Pulang Kerja</a></li>
  <li><a href="#">Makan Malam</a></li>
  <li><a href="#">Istirahat</a></li>
</ul>

.list {
  color: #555;
  font-size: 18px;
  padding: 0 !important;
  width: 500px;
  font-family: courier, monospace;
  border: 1px solid #dedede;
  background-color: rgba(255,255,255,1);
}
.list li {
  list-style: none;
  border-bottom: 1px dotted #ccc;
  padding: 10px 0 10px 35px;
  height: auto;
  text-transform: capitalize;
}
.list li:hover {
  background-color: rgba(220,220,220,0.3);
  -webkit-transition: all 0.2s;
  -moz-transition:    all 0.2s;
  -ms-transition:     all 0.2s;
  -o-transition:      all 0.2s;
}
.list li a {text-decoration:none;color:#777}
.list li a:before{
  border-left:4px double red;
  width:30px;
  position:relative;
  left:-15px;
  top:-11px;
  padding-bottom:22px;
  height:45px;
  content:""
}


Load disqus comments

4 comments

Silakan tambahkan komentar sesuai dengan topik, terima kasih.