0
html container 2colums align
html css used container row, column 2 comolumns i am used but how do align 2 colums width,height alignment coding commend
2 odpowiedzi
0
I don't understand very well, if you can pass me the code it would be perfect and say me what you want
0
You can use the flex box properties
<!DOCTYPE html>
<html>
<head>
<style>
.flex-container {
display: -webkit-flex;
display: flex;
width: 400px;
height: 250px;
background-color: lightgrey;
}
.flex-item {
background-color: cornflowerblue;
width: 100px;
height: 100px;
margin: 10px;
}
</style>
</head>
<body>
<div class="flex-container">
<div class="flex-item">flex item 1</div>
<div class="flex-item">flex item 2</div>
<div class="flex-item">flex item 3</div>
</div>
</body>