I have a button followed by a pseudo element. The button displays 'next' and the pseudo element displays '>'. This is used for pagination.
I have hidden the button but made the pseudo element visible by using css properties
button{
visibility: hidden;
}
button::pseudoElement{
visibility: visible;
}
Now the button is hidden and element is visible. It is also clickable. It works in chrome,safari and ie. But it does not click on firefox. What do I change?
EDIT This hack worked
button{
color: transparent;
}
button::pseudoElement{
color: black;
}
Any better approach?