diff --git a/takhta.html b/takhta.html index 810797c..406735e 100644 --- a/takhta.html +++ b/takhta.html @@ -12,9 +12,9 @@ font-size: 200%; } td div { - display: table-cell; - text-align: center; - vertical-align: middle; + display: flex; + justify-content: center; + align-items: center; } #board tbody :nth-child(odd) :nth-child(even) { background-color: #fff;