<html>
<head>
<style>
.a {
display: contents;
border: 1px solid red;
background-color: lightgrey;
padding: 10px;
width: 200px;
}
.b {
border: 1px solid blue;
background-color: lightblue;
padding: 10px;
}
</style>
</head>
<body>
<h1>The display Property</h1>
<h2>display: contents:</h2>
<div class="a">
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Etiam semper diam at erat pulvinar, at pulvinar felis blandit. <div class="b">HELLO WORLD!</div> Vestibulum volutpat tellus diam, consequat gravida libero rhoncus ut.
</div>
<p>display: contents does not work in Edge/Internet Explorer.</p>
</body>
<!-- Mirrored from www.w3schools.com/cssref/tryit.asp?filename=trycss_display_contents by HTTrack Website Copier/3.x [XR&CO'2014], Mon, 27 Jan 2020 03:00:47 GMT -->
</html>