Source code
Revision control
Copy as Markdown
Other Tools
Test Info:
- This WPT test may be referenced by the following Test IDs:
- /css/css-flexbox/flex-vertical-align-effect.html - WPT Dashboard Interop Dashboard
<!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>