css3 - How to style the arrow that opens submenus in jQuery mmenu? -


does know how arrow in mmenu opens (vertical) submenus generated , how can possibly style via css? hint appreciated. thanks.

link mmenu website

the css styles these arrows following ones:

.mm-prev:before, .mm-next:after, .mm-arrow:after {     content: '';     border: 2px solid transparent;     display: inline-block;     width: 8px;     height: 8px;     margin: auto;     position: absolute;     top: 0;     bottom: 0;     border-color: rgba(0, 0, 0, 0.3);     -webkit-transform: rotate(-45deg);     -moz-transform: rotate(-45deg);     -ms-transform: rotate(-45deg);     -o-transform: rotate(-45deg);     transform: rotate(-45deg); } 

if apply css anchor, have 45 degree rotated box 2 pixel border line. can remove border of each sides want following code have right sided arrow:

.mm-next:after, .mm-arrow:after {     border-top: none;     border-left: none;     right: 20px; } 

and below code have left sided arrow:

.mm-next:after, .mm-arrow:after {     border-bottom: none;     border-right: none;     right: 20px; } 

Comments

Popular posts from this blog

html - Firefox flex bug applied to buttons? -

html - Missing border-right in select on Firefox -

python - build a suggestions list using fuzzywuzzy -