snippet consistency fixes
This commit is contained in:
@ -1,6 +1,6 @@
|
||||
### Transform Centering
|
||||
### Transform centering
|
||||
|
||||
Vertically and horitonally centers a child element within its parent element using `position: absolute` and `transform: translate()` (as an alternative to `flexbox` or `display: table`). Similar to `flexbox`, this method does not require you to know the height or width of your parent or child so it is ideal for responsive applications.
|
||||
Vertically and horizontally centers a child element within its parent element using `position: absolute` and `transform: translate()` (as an alternative to `flexbox` or `display: table`). Similar to `flexbox`, this method does not require you to know the height or width of your parent or child so it is ideal for responsive applications.
|
||||
|
||||
#### HTML
|
||||
|
||||
|
||||
Reference in New Issue
Block a user