Open ShiChenCong opened 7 years ago
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>Document</title>
<script src='flexibility.js'></script>
<style>
div {
width: 500px;
height: 500px;
border:1px solid red;
-js-display: flex;
display: flex;
justify-content: space-around;
}
span{
display: inline-block;
width: 50px;
height: 50px;
background: lightblue;
}
</style>
</head>
<body>
<div>
<span>1</span>
<span>2</span>
<span>3</span>
</div>
</body>
<script>
flexibility(document.documentElement);
</script>
</html>
Here's my code <!DOCTYPE html>