OLD | NEW |
---|---|
(Empty) | |
1 <!DOCTYPE html> | |
2 <style> | |
3 button { | |
4 border: 0; | |
5 padding: 0; | |
6 background-color: white; | |
7 font-family: sans-serif; | |
8 font-size: initial; | |
9 width: 300px; | |
10 display: flex; | |
11 justify-content: center; | |
12 } | |
13 </style> | |
14 <h4>Test for crbug.com/344733: Centering text inside a button set to display fle x and justify-content: center is impossible</h4> | |
15 <button>text with justify-content: center</button> | |
OLD | NEW |