title: How do you center a video using CSS
body: <p>I'm trying to center a video within my site but I don't want to use the center tags in HTML because it's kinda obsolete. How do I do this with CSS? Here's my HTML code if it's any help.</p>
  
  <pre class="lang-html prettyprint-override"><code>&lt;center&gt;
    &lt;video width="320" height="240" controls&gt;
      &lt;source src="video.mp4" type="video/mp4"&gt;
      &lt;source src="video.ogg" type="video/ogg"&gt;
      &lt;source src="video.webm" type="video/webm"&gt;
      Your browser does not support the video tag.
    &lt;/video&gt;
  &lt;/center&gt; 
  </code></pre>