odin-flex/05-flex-modal/solution/solution.html

25 lines
1.0 KiB
HTML
Raw Permalink Normal View History

2023-12-29 16:21:21 +00:00
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="solution.css">
<title>Modal</title>
</head>
<body>
<div class="modal">
<div class="icon">!</div>
<!-- additional container used here -->
<div class="container">
<!-- header div was moved to encompass the close button as well -->
<div class="header">Are you sure you want to do that?
<button class="close-button"></button>
</div>
<div class="text">Lorem ipsum dolor sit amet consectetur adipisicing elit. Pariatur excepturi id soluta, numquam minima rerum doloremque eveniet aspernatur beatae commodi. Cupiditate recusandae ad repellendus quidem consectetur sequi amet aspernatur cumque!</div>
<button class="continue">Continue</button>
<button class="cancel">Cancel</button>
</div>
</div>
</body>
</html>