Home › Forums › CSS › Targeting a parent › Re: Targeting a parent
November 29, 2011 at 3:54 pm
#91553
standuncan
Member
Do you need it to change only on hover of the button or can it be the entire div? You could always:
div.entry_info {
position: relative;
border:10px solid #91b8ce;}
div.entry_info:hover {
border:10px solid #c93356;}
div.entry_info p a.read_more {
position: absolute;
right:0;
bottom:0;
background:#91b8ce;
color: #fff;
}
div.entry_info:hover p a.read_more {
background: #c93356;
}