You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<metaname="assert" content="The flex-shrink property set positive number determines how much the flex item will shrink relative to the rest of the flex items in the flex container when negative free space is distributed">
<style>
#container {
background-color: red;
display: flex;
height:100px;
width:100px;
}
#containerdiv {
height:100px;
width:100px;
}
#test1 {
flex-shrink:2;
}
#test2 {
background-color: green;
flex-shrink:3;
}
#cover {
background-color: green;
height:100px;
margin-top:-100px;
width:60px;
}
</style>
<body>
<p>Test passes if there is a filled green square and <strong>no red</strong>.</p>