<body class="bg-purple-700">
	<div class="mx-auto my-20 w-[600px] drop-shadow rounded-md">
		<details class="bg-gray-300 open:bg-amber-200 duration-300">
			<summary class="bg-inherit px-5 py-3 text-lg cursor-pointer">Team emails</summary>
			<div class="bg-white px-5 py-3 border border-gray-300 text-sm font-light">
				<p>Praesent posuere nisi vel diam congue varius. Praesent lacus nulla, congue nec rhoncus nec,
					suscipit et enim. Donec ultrices nec arcu et pharetra.</p>
			</div>
		</details>
	</div>
</body>

External CSS

  1. https://cdnjs.cloudflare.com/ajax/libs/tailwindcss/2.2.19/tailwind.min.css

External JavaScript

This Pen doesn't use any external JavaScript resources.