.note {
  float: left;
  width: 240px;
  margin: 16px;
  padding: 10px;
  background: #fff;
  border-radius: 2px;
  box-shadow: 0 2px 5px #ccc;

  h1 {
    font-size: 1.1em;
    margin-bottom: 6px;
  }

  pre {
    font-size: 1.1em;
    margin-bottom: 10px;
    white-space: pre-wrap;
    word-wrap: break-word;
    font-family: inherit;
  }
}

.note {
  width: 240px;
  margin: 8px 0;
  padding: 10px;
  background: #fff;
  border-radius: 2px;
  box-shadow: 0 2px 5px #ccc;

  h1 {
    font-size: 1.1em;
    margin-bottom: 6px;
  }

  pre {
    font-size: 1.1em;
    margin-bottom: 10px;
    white-space: pre-wrap;
    word-wrap: break-word;
    font-family: inherit;
  }
}

Remove float and edit margins
Remove float and edit margins
