Search
 
SCRIPT & CODE EXAMPLE
 

CSS

text-align:center apply to parent div or child div

.parent {
    width: 100%;
    border: 1px solid blue;
    text-align: center;
}

.child {
    display: inline-block;  
    border: 1px solid red;
    margin: 2px;
}
Comment

PREVIOUS NEXT
Code Example
Css :: border radius circle button 
Css :: flex direction 
Css :: dont brake text in css 
Css :: underline css animation hover 
Css :: padding shorthand 
Css :: counter-reset ol css 
Css :: media screen desktop 
Css :: comentarios en css 
Css :: flex change order 
Css :: wp wpbakery bulder page alignment 
Css :: remove list dots on li 
Css :: wrap a span 
Css :: scroll x css 
Css :: bulma capitalized 
Css :: mini-css-extract-plugin 
Css :: css image hover zoom and rotate 
Css :: css strikethrough html text 
Css :: html how to use a background image fill not stretch 
Css :: how to make div width auto adjust 
Css :: replace icon with image css 
Css :: css animation stop 
Css :: line in css div 
Css :: jquery change css variiable value 
Css :: margin 0 auto 
Css :: how to stilize title property css 
Css :: css pointer event 
Css :: limit number of text lines 
Css :: select even child css 
Css :: how to remove bullet in css 
Css :: how to make text transparent with stroke in css 
ADD CONTENT
Topic
Content
Source link
Name
1+8 =