adding highlight for active anchor items
This commit is contained in:
@@ -402,6 +402,15 @@ blockquote p, q p {
|
|||||||
display:inline;
|
display:inline;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* HIGHLIGHTING ACTIVE ANCHOR ITEMS */
|
||||||
|
:target {
|
||||||
|
background: #F5DEB3; /* For browsers that do not support gradients */
|
||||||
|
background: -webkit-linear-gradient(left,rgba(245,222,179,1),rgba(245,222,179,0)); /*Safari 5.1-6*/
|
||||||
|
background: -o-linear-gradient(right,rgba(245,222,179,1),rgba(245,222,179,0)); /*Opera 11.1-12*/
|
||||||
|
background: -moz-linear-gradient(right,rgba(245,222,179,1),rgba(245,222,179,0)); /*Fx 3.6-15*/
|
||||||
|
background: linear-gradient(to right, rgba(245,222,179,1), rgba(245,222,179,0)); /*Standard*/
|
||||||
|
}
|
||||||
|
|
||||||
@media only screen and (max-device-width: 400px) {
|
@media only screen and (max-device-width: 400px) {
|
||||||
.featured-box {
|
.featured-box {
|
||||||
max-width: 90%;
|
max-width: 90%;
|
||||||
|
|||||||
Reference in New Issue
Block a user