diff options
Diffstat (limited to 'index.html')
| -rw-r--r-- | index.html | 20 |
1 files changed, 20 insertions, 0 deletions
@@ -331,6 +331,10 @@ cursor: pointer; border-radius: 8px; opacity: 0.9; + display: inline-flex; + flex-direction: row; + justify-content: center; + align-items: center; } .root-select button:hover { opacity: 1; @@ -339,6 +343,16 @@ padding-left: 1rem; padding-right: 1rem; } + + .fraction { + display: inline-flex; + flex-direction: column; + font-size: 12px; + margin-left: 0.25rem; + } + .fraction span:first-child { + border-bottom: 1px solid; + } </style> </head> <body> @@ -677,6 +691,12 @@ </div> <div class="row"> <button class="div-2">÷2</button> + <button class="div-3-2"> + ÷<span class="fraction"><span>3</span><span>2</span></span> + </button> + <button class="mul-3-2"> + ×<span class="fraction"><span>3</span><span>2</span></span> + </button> <button class="mul-2">×2</button> </div> <div class="row"> |
