tag allows us to create collapsible boxes in html5
The tag is supported in Chrome 31 and greater, Opera 27 and greater and Safari 7 or greater. The Android’s built-in browser supports it as well. IE and Firefox does not have a released version with support for the tag at this moment.
<!DOCTYPE html>
<html>
<head lang="en">
<style>
.col-lg-4{
float: left;
max-width: 33.33%;
}
.text-center {
text-align: center;
}
details {
background-color: chartreuse;
padding: 5px;
border-radius: 6px;
border: 3px groove forestgreen;
margin: 5px;
}
</style>
</head>
<body>
<div class="col-lg-4 text-center">
<details>
<summary>Our Products List</summary>
<ol>
<li>Carbon</li>
<li>Oxygen</li>
<li>Nitrogen</li>
<li>Silver</li>
<li>Iron</li>
</ol>
</details>
</div>
<div class="col-lg-4 text-center">
<details>
<ol>
<li>Carbon</li>
<li>Oxygen</li>
<li>Nitrogen</li>
<li>Silver</li>
<li>Iron</li>
</ol>
</details>
</div>
<div class="col-lg-4 text-center">
<details open>
<ol>
<li>Carbon</li>
<li>Oxygen</li>
<li>Nitrogen</li>
<li>Silver</li>
<li>Iron</li>
</ol>
</details>
</div>
</body>