I am using the below HTML code:
<a class="-video-detail-qualifiers-branding">
<img src=""/>
</a>
SCSS Code:
.-video-detail-qualifiers-branding {
border: 2px solid #D7C378;
border-radius: 4px;
img {
height: 85px;
width: 85px;
padding: 5px;
}
img::after {
border-radius: 4px;
}
}
Problem: The above code is applying the border-radius to the anchor tag but it is not applying border-radius to the img tag. I want both of the elements must have a border-radius of 4px.