Source code

Revision control

Copy as Markdown

Other Tools

Test Info:

<!DOCTYPE html>
<html>
<head>
<title>CSS Test: 'display' property set to 'flex'</title>
<link rel="author" title="Hua Zhao" href="mailto:zhaohua.design@163.com" />
<link rel="match" href="reference/flex-vertical-align-effect.html">
<meta name="assert" content="vertical-align property has no effect" />
<style type="text/css">
#container {
display:flex;
align-items:flex-start;
}
input{
margin:0;padding:0;vertical-align:middle;
}
</style>
</head>
<body>
<div id="container">
<input type="text" value="input1" />
<input type="radio" />
</div>
</body>
</html>