How to use margin settings to center horizontally?

Internet 2021-08-28 15:41:04 0 3,245

You can set the two attribute values of margin-left and margin-right to auto, that is, set the left and right borders of the element to be automatic, so that the element is horizontally aligned in the center.


Your opinion

Already have 0 Article answer