Can children be aligned to the left when the parent is aligned to the center?
I have a list of elements where the parent block should be centered, but the children need to align to the left.
https://i.sstatic.net/ixRxQ.jpg
Now I found a solution to align the children to the center as well - check out this JSFIDDLE.
.parent {
text-align: center;
}
.child {
width: 100px;
height:100px;
margin:10px;
display:inline-block;
background:#e0e0e0;
}