.centered {
position: fixed;
top: 50%;
left: 50%;
/* bring your own prefixes */
transform: translate(-50%, -50%);
}
.center {
display: flex;
justify-content: center;
align-items: center;
}
Code Example |
---|
Css :: css transform duration |
Css :: css select last character |
Css :: css resize image without distortion |
Css :: css how to center images in a table cell |
Css :: diable focus button css |
Css :: is there an img cover |
Css :: position footer to stay at bottom of screen flexbox |
Css :: css selector no attribute |
Css :: input date icon width |
Css :: css align ul li horizontal |
Css :: hide scrollbar but still scroll |
Css :: Bootstap 5.2.0 cdn |
Css :: reset link style css |
Css :: bring element to front css |
Css :: resize checkbox |
Css :: css animation loop |
Css :: Tailwindcss version check |
Css :: css center grid |
Css :: scss not working with storybook |
Css :: transition transform |
Css :: who created css |
Css :: sticky header |
Css :: nunito font |
Css :: css disable mouse events |
Css :: css testo che scorre |
Css :: how to do text center of select element |
Css :: scss install |
Css :: mat slider custom color |
Css :: how to move an image up in css |
Css :: set distance between text and underline |