I have a jsfiddle here - http://jsfiddle.net/nvz7q39b/
Is it possible to use :after to create an area that is clickable.
Can I add a class to the area created with :after and then use jQuery / Javascript to add an event to it.
.block{
background: #ddd;
height: 50px;
position: relative;
}
.block:after{
background: red;
content: "";
display: block;
width: 50%;
height: 50px;
z-index: 100;
}