Here's my code
<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>
1
2
3
<script>
flexibility(document.documentElement);
</script>
Here's my code
<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>