Search snippets
Browse Code Answers
FAQ
Usage docs
Log In
Sign Up
Home
CSS
css center element on screen
loganathan
Programming language:
CSS
2021-03-25 14:16:44
5
Q:
css center element on screen
mlinar
Code:
CSS
2021-06-19 18:37:34
.centered { position: fixed; top: 50%; left: 50%; transform: translate(-50%, -50%); }
3
Tags
screen
element
css
Related
css center position
align items center css
menu always center css
center css elements
center div in middle of page
align table in center of page css
align center css
css menu center of screen
center page css
align div to center of screen
centering css elements
locate canvas in center of screen css
css align center
New to Communities?
Join the community