I wanted to recreate this calculator in css: Calculator
But i can do those square separators around the buttons. I've tried to create a div around the button's but it doesnt seem to work as the keyboard flips out of place
<div id="calculator">
<div class="output">
<p>1234</p>
</div>
<div class="squareborder">
<button class="minus">c</button>
</div>
<button class="minus">cm</button>
<button class="equal">%</button>
<button class="equal">rm</button>
<button>7</button>
<button>8</button>
<button>9</button>
<button class="equal">÷</button>
<button>4</button>
<button>5</button>
<button>6</button>
<button class="equal">x</button>
<button>1</button>
<button>2</button>
<button>3</button>
<button class="minus">-</button>
<button>0</button>
<button>•</button>
<button class="equal">=</button>
<button class="plus">+</button>
</div>
</body>
</html>
There is surely multiple ways to do it but this is how I would do it...
<div class="row">element to applyflex<span class="squareborder">element for thebordersquareborderclass withbox-shadowfor the depthI also had to play with the CSS a little but nothing too fancy!
By the way... your calculator is reeeeaaaallllyyy sweet, good job mate