web front-end study notes

1. Center the child div

If the child div is centered horizontally and the child div has a fixed width, you can use:

margin: 0 auto;

 

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=324794606&siteId=291194637