How to horizontally align ul to center of div?
Following is a list of solutions to centering things in CSS horizontally. The snippet includes all of them. html { font: 1.25em/1.5 Georgia, Times, serif; } pre { color: #fff; background-color: #333; padding: 10px; } blockquote { max-width: 400px; background-color: #e0f0d1; } blockquote > p { font-style: italic; } blockquote > p:first-of-type::before { content: open-quote; … Read more