Template:Before and after/styles.css: Difference between revisions
Template page
More actions
Content deleted Content added
Tesinormed (talk | contribs) Created page with ".template--before_and_after { text-align: center; margin: 0 auto; width: 80%; }" |
Tesinormed (talk | contribs) No edit summary |
||
| Line 1: | Line 1: | ||
.template--before_and_after { |
.template--before_and_after { |
||
text-align: center; |
|||
margin: 0 auto; |
margin: 0 auto; |
||
width: 80%; |
width: 80%; |
||
display: flex; |
|||
} |
|||
.template--before_and_after:first-child, |
|||
.template--before_and_after:last-child { |
|||
flex: 1 0 fit-content; |
|||
} |
|||
.template--before_and_after:nth-child(2) { |
|||
flex: 0 0 fit-content; |
|||
} |
} |
||