Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
You must create an account or log in to edit.

Template:Before and after/styles.css: Difference between revisions

Template page
Content deleted Content added
Created page with ".template--before_and_after { text-align: center; margin: 0 auto; width: 80%; }"
 
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;
}
}

Revision as of 07:55, January 31, 2025

.template--before_and_after {
	margin: 0 auto;
	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;
}