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="This test checks that the flex container with 'justify-content: center' centers flex items in the main axis of each line." />
background:linear-gradient(to right, blue 0, blue 75px, red 75px, red 225px, orange 225px, orange 300px);
display: flex;
justify-content: center;
height:100px;
width:300px;
}
divdiv
{
background-color: orange;
width:76px;
}
.blue
{
background-color: blue;
}
</style>
</head>
<body>
<p>Test passes if there is a single blue rectangle on the left, a single orange rectangle directly to its right, and there is no red visible on the page.</p>