Answers for "css center a block element"

CSS
-1

how to center an ing with block display

img{
    display: block;
    margin-left: auto;
    margin-right: auto;
    }
Posted by: Guest on September-10-2020
1

center css elements

body{
  display: grid;
  place-items: center;
}
Posted by: Guest on November-11-2020

Browse Popular Code Answers by Language