Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSS

css center div

/* CSS */
.mx-auto {margin-left: auto;margin-right: auto;}

<!-- HTML -->
<div class="mx-auto">
	<!-- content -->
</div>
Source by developer.mozilla.org #
 
PREVIOUS NEXT
Tagged: #css #center #div
ADD COMMENT
Topic
Name
5+6 =