title: How can i make this box align at center in css?
body: <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-css lang-css prettyprint-override"><code>.dkk {
   color:white;
   margin: 0px auto;
   text-align: center;
   display:inline-block;
   border: 3px solid;
   padding:10px;
   background-color:#333333;
  }</code></pre>
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;h2 class="dkk"&gt;We are currently under construction.&lt;/h2&gt;</code></pre>
  </div>
  </div>
  </p>
  
  <p>This is the box. If I can know how to make this one, i can do others myself.</p>