alternative to absolooute posiltion

Marwen Labidi answered on March 25, 2023 Popularity 1/10 Helpfulness 1/10

Contents


More Related Answers


alternative to absolooute posiltion

0

3. Grid pile #

Avoid position absolute with a single cell CSS grid. Once they're piled on top of each other, use justify and align properties to position them.

.pile {

display: grid;

place-content: center;

}

.pile > * {

grid-area: 1/1;

Popularity 1/10 Helpfulness 1/10 Language css
Source: Grepper
Tags: css
Link to this answer
Share Copy Link
Contributed on Mar 25 2023
Marwen Labidi
0 Answers  Avg Quality 2/10


X

Continue with Google

By continuing, I agree that I have read and agree to Greppers's Terms of Service and Privacy Policy.
X
Grepper Account Login Required

Oops, You will need to install Grepper and log-in to perform this action.