Created
October 22, 2020 12:59
-
-
Save dudumanbogdan/f538b079e29fc44cedf2c84b90140493 to your computer and use it in GitHub Desktop.
// source https://jsbin.com
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="utf-8"> | |
<meta name="viewport" content="width=device-width"> | |
<title>JS Bin</title> | |
<style id="jsbin-css"> | |
.container { | |
display: grid; | |
border: 1px solid blue; | |
grid-template-rows: 1fr 1fr | |
} | |
.row { | |
margin: 10px; | |
display: grid; | |
grid-template-columns: 1fr 2fr | |
} | |
</style> | |
</head> | |
<body> | |
<div class="container"> | |
<div class="row"> | |
<div class="col"> | |
Location | |
</div> | |
<div class="col">Iasi</div> | |
</div> | |
<div class="row"> | |
<div class="col"> | |
Name | |
</div> | |
<div class="col">John</div> | |
</div> | |
</div> | |
<script id="jsbin-source-css" type="text/css">.container { | |
display: grid; | |
border: 1px solid blue; | |
grid-template-rows: 1fr 1fr | |
} | |
.row { | |
margin: 10px; | |
display: grid; | |
grid-template-columns: 1fr 2fr | |
} | |
</script> | |
</body> | |
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.container { | |
display: grid; | |
border: 1px solid blue; | |
grid-template-rows: 1fr 1fr | |
} | |
.row { | |
margin: 10px; | |
display: grid; | |
grid-template-columns: 1fr 2fr | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment