how block elements can be centered with css code example Example: center css elements body{ display: grid; place-items: center; }