Simply set text-align: center;
on the div container.
More Related Contents:
- Center an element in Bootstrap Navbar
- Should I use max-device-width or max-width?
- CSS Font Border?
- CSS hexadecimal RGBA?
- How to overwrite styling in Twitter Bootstrap
- How to make child element higher z-index than parent? [duplicate]
- Offset a background image from the right using CSS
- How do min-content and max-content work?
- CSS @font-face absolute URL from external domain: fonts not loading in firefox
- CSS – center two images in css side by side
- Bootstrap 3 – desktop view on a mobile device
- Text: right to left (CSS)
- CSS for grabbing cursors (drag & drop)
- CSS transition with visibility not working
- Fill background color left to right CSS
- What is the difference between outline and border CSS properties?
- IE7 and the CSS table-cell property
- CSS3 transform on click using pure CSS
- How do negative margins in CSS work and why is (margin-top:-5 != margin-bottom:5)?
- Bootstrap 4 custom build generator / download [duplicate]
- CSS text justify with letter spacing
- Custom tags… why not?
- Can you apply a width to a :before/:after pseudo-element (content:url(image))?
- What’s a queryString doing in this stylesheet’s href?
- How do you collapse unused row in a CSS grid?
- Can I target all tags with a single selector?
- How to properly introduce a light/dark mode in Bootstrap?
- Is vertical text-overflow possible with css3?
- Why shouldn’t I use position:absolute for positioning everything?
- Bootstrap Grid System new line does not look nice