Timeline for How can I horizontally center an element?
Current License: CC BY-SA 3.0
14 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Mar 17, 2018 at 20:14 | history | edited | Peter Mortensen | CC BY-SA 3.0 |
Active reading.
|
| Mar 22, 2017 at 12:29 | comment | added | Danield |
@WouterVanherck it depends on the flex-direction value. If it is 'row' (the default) - then justify-content: center; is for the horizontal alignment (like I mentioned in the answer) If it is 'column' - then justify-content: center; is for the vertical alignment.
|
|
| Mar 22, 2017 at 12:04 | comment | added | Wouter Vanherck | Isn't the "justify-content: center;" for the vertical alignment and the "align-items: center;" for the horizontal alignment? | |
| Jun 27, 2016 at 13:34 | history | edited | Danield | CC BY-SA 3.0 |
added 822 characters in body
|
| Jan 17, 2014 at 18:18 | history | made wiki | Post Made Community Wiki by Salman Arshad | ||
| S Jan 2, 2014 at 14:59 | history | suggested | atiquratik | CC BY-SA 3.0 |
improved formatting
|
| Jan 2, 2014 at 14:57 | review | Suggested edits | |||
| S Jan 2, 2014 at 14:59 | |||||
| Oct 29, 2013 at 17:23 | history | edited | James Donnelly | CC BY-SA 3.0 |
added 31 characters in body
|
| Oct 1, 2013 at 20:33 | comment | added | cimmanon | The Flexbox specification has gone through 3 major revisions. The most recent draft is from Sept 2012, which officially deprecates all previous drafts. However, browser support is spotty (particularly old Android browsers): stackoverflow.com/questions/15662578/… | |
| Sep 6, 2013 at 10:18 | comment | added | kongaraju | what do you mean by "syntax is outdated", is it deprecated? | |
| Jul 17, 2013 at 10:53 | history | edited | Danield | CC BY-SA 3.0 |
deleted 71 characters in body
|
| Jul 14, 2013 at 9:58 | history | edited | Danield | CC BY-SA 3.0 |
added 156 characters in body
|
| Apr 22, 2013 at 10:38 | history | edited | Danield | CC BY-SA 3.0 |
fixed typo
|
| Apr 22, 2013 at 10:32 | history | answered | Danield | CC BY-SA 3.0 |