<ul>
<li><a href="#">1</a></li>
<li><a href="#">2</a></li>
<li class="current"><a href="#">3</a></li>
<li><a href="#">4</a></li>
<li><a href="#">5</a></li>
</ul>
ul {text-align: center;} ul の中身を中央揃えにして
li {display: inline-block;} li をインラインブロックで表示して
vertical-align: bottom;} li を垂直方向下揃えにして
li.current {line-height: 4em;} class を付けた li だけ高さを大きくして
a {display: block; a をブロックで表示して
width: 40px;} a に幅を指定
:disabled {
background-color: #eee;
cursor: not-allowed;
}
input[type="text"]:disabled {
property: value;
}
<ul>
<li data-list="first">第1のリスト</li>
<li data-list="second">第2のリスト</li>
<li data-list="third">第3のリスト</li>
</ul>
ul li[data-list="first"] {color:#c00;}
ul li[data-list="second"] {color:#0c0;}
ul li[data-list="third"] {color:#00c;}
<div class="col-sm-12" style="solid 1px #cccccc; height:500px;">
<head>
<style>
body {
background: #eeeeee;
}
</style>
</head>
<!-- -->
input[type="text"] { background-color: red;}
input[type="text"]:focus { background: blue;}
<q>Some quotes</q>, he said, <q>are better than none</q>.
q::before {
content: "«";
color: blue;
}
q::after {
content: "»";
color: red;
}
Some quotes, he said,
are better than none.