Here is an example snippet
<html>
<head>
<style>
.test > input { //this selector is incorrect.
color:red;
}
</style>
</head>
<body>
<div class="test">
<div>
<input></input>
</div>
</div>
</body>
</html>
I aim to style the input element by using the div's CSS class name. How can I target the input element with the help of the div's class?