Home › Forums › CSS › Selector for the margin-top and margin-bottom of an element › Reply To: Selector for the margin-top and margin-bottom of an element
September 7, 2016 at 6:20 pm
#245310
JamiePatt
Participant
Why not just something like:
.element:before, .element:after{
content: ' ';
height: 10px;
}
.element:before {cursor:n-resize;}
.element:after {cursor:s-resize;}
.element {cursor:pointer;}