AimalQazi#992
KPCKevin Powell - Community
•Created by Jus Sus || 💀 on 10/24/2023 in #front-end
Pseudo element not going behind parent element using z-index
can you provide code
7 replies
KPCKevin Powell - Community
•Created by Jus Sus || 💀 on 10/24/2023 in #front-end
Pseudo element not going behind parent element using z-index
if you want to make this use z-index to the pesudo-element to number 1 and use inner-shadow to the pesudo element
7 replies
KPCKevin Powell - Community
•Created by Jus Sus || 💀 on 10/24/2023 in #front-end
Pseudo element not going behind parent element using z-index
solved
just use this css to make number 1
.number::before {
content: "";
width: 25px;
height: 40px;
background-color: white;
position: absolute;
left: -18px;
top: 2px;
transform: rotate(50deg);
border-radius: 3px;
z-index: -10;
}
7 replies
KPCKevin Powell - Community
•Created by Boeroe on 10/23/2023 in #front-end
Image sizing responsive
you can also make div and give width and height according to your needs and inside that div make width and height to 100% to image
4 replies
KPCKevin Powell - Community
•Created by Boeroe on 10/23/2023 in #front-end
Image sizing responsive
your adding too much padding and also 3rem gap between divs try to use less padding from left-to-right
4 replies
KPCKevin Powell - Community
•Created by Samalander on 10/24/2023 in #front-end
Automatically resizing input
try using width: fit-content
13 replies