How can I horizontally center an element?

clock icon

asked 6 months ago Asked

Message

1 Answers

Eye

9 Views

How can I horizontally center a <div> within another <div> using CSS?

<div id="outer">
  <div id="inner">Foo foo</div>
</div>

1 Answers

Write your answer here

Top Questions