목차Centering Hardest Problem in Computer Science: Centering Things @ tonsky.me Web .parent { display: grid; place-items: center;}.parent { display: flex; justify-content: center; align-items: center;} You can also use margin: auto;. Android android:gravity="center"