Skip welcome & menu and move to editor
Welcome to JS Bin
Load cached copy from
 
<!DOCTYPE html>
<html>
<head>
<meta name="description" content="button text not centered">
  <meta charset="utf-8">
  <meta name="viewport" content="width=device-width">
  <title>JS Bin</title>
  <style>
    body {
      background-color: pink;
    }
    #keypad {
      flex: auto;
      margin: 36px auto;
      display: grid;
      grid-template-columns: repeat(3, 60px);
      grid-template-rows: repeat(5, 60px);
      grid-column-gap: 36px;
      grid-row-gap: 36px;
      grid-template-areas: "delete entry status" "one two three" "four five six" "seven eight nine" "star zero hash";
      align-items: stretch;
      align-content: center;
    }
    
    button {
      outline: none;
      cursor: pointer;
      background-color: transparent;
      width: 60px;
      height: 60px;
      border-radius: 30px;
      border: 1px solid #f7f7f7;
      color: #f7f7f7;
      font-size: 24px;
      font-weight: 100;
      align-self: center;
      justify-self: center;
      text-align: center;
      line-height: 28px;
    }
  </style>
</head>
<body>
<div id="keypad">
  <button id="star"></button>
</div>
</body>
</html>
Output

You can jump to the latest bin by adding /latest to your URL

Dismiss x
public
Bin info
davidmaxwatermanpro
0viewers