Answers for "*, *::before, *::after can it affect just one div and not the whole page"

CSS
1

css before is not working

.chart ul:after{
  content: "";
  border:1px solid #f30;
}
Posted by: Guest on June-11-2020
0

how use befor after for image

/* for child  */

.custom_img:after {
    content: "";
    background-color: #2359cf;
    height: 400px;
    width: 70%;
    top: -15px;
    right: -6px;
    position: absolute;
    z-index: 999;
}
Posted by: Guest on November-02-2020

Code answers related to "*, *::before, *::after can it affect just one div and not the whole page"

Browse Popular Code Answers by Language