Open main menu
Home
Random
Log in
Settings
About wiki
Terms and conditions of use
wiki
Search
Changes
← Older edit
Newer edit →
M365/test1
(view source)
Revision as of 22:28, 4 March 2023
92 bytes removed
,
22:28, 4 March 2023
no edit summary
Line 7:
Line 7:
}
}
−
/* Create two equal columns that
floats
next to each other */
+
.row {
+
display: flex;
+
}
+
+
/* Create two equal columns that
sits
next to each other */
.column {
.column {
−
float: left;
+
flex
: 50%;
−
width
: 50%;
padding: 10px;
padding: 10px;
height: 300px; /* Should be removed. Only for demonstration */
height: 300px; /* Should be removed. Only for demonstration */
−
}
−
−
/* Clear floats after the columns */
−
.row:after {
−
content: "";
−
display: table;
−
clear: both;
}
}
</style>
</style>
Thian.zanniatlaizo
5,992
edits