1+ <!DOCTYPE html>
2+ < html lang ="en ">
3+ < head >
4+ < meta charset ="UTF-8 ">
5+ < meta name ="viewport " content ="width=device-width, initial-scale=1.0 ">
6+ < title > CSS Roaster Machine</ title >
7+ < link rel ="stylesheet " href ="style.css ">
8+ </ head >
9+ < body >
10+ < div class ="container ">
11+ < div class ="toaster ">
12+ <!-- Checkbox for the handle switch -->
13+ < input type ="checkbox " id ="toaster-switch " class ="toaster__switch ">
14+
15+ <!-- The actual toaster -->
16+ < label for ="toaster-switch " class ="toaster__body ">
17+ <!-- Main toaster body -->
18+ < div class ="toaster__main ">
19+ <!-- Left side integrated handle (lever) -->
20+ < div class ="toaster__handle ">
21+ < div class ="toaster__handle-top "> </ div >
22+ < div class ="toaster__handle-stick "> </ div >
23+ </ div >
24+
25+ <!-- Top part with slots -->
26+ < div class ="toaster__top ">
27+ < div class ="toaster__slot "> </ div >
28+ </ div >
29+
30+ <!-- Front face with controls -->
31+ < div class ="toaster__front ">
32+ < div class ="toaster__panel ">
33+ < div class ="toaster__knob "> </ div >
34+ < div class ="toaster__logo "> ToastMaster - Click Me</ div >
35+ < div class ="toaster__light "> </ div >
36+ </ div >
37+ </ div >
38+ </ div >
39+ </ label >
40+
41+ <!-- The bread that goes in the toaster -->
42+ < div class ="clipper ">
43+ < div class ="bread ">
44+ < div class ="bread__crust "> </ div >
45+ < div class ="bread__texture "> </ div >
46+ </ div >
47+ </ div >
48+
49+ <!-- Toast notification UI -->
50+ < div class ="toast-notification ">
51+ < div class ="toast-notification__content ">
52+ Your bread is cooked, please wait, I beg you, please...
53+ </ div >
54+ < div class ="toast-notification__close "> ×</ div >
55+ </ div >
56+
57+ <!-- Snackbar UI -->
58+ < div class ="snackbar ">
59+ < div class ="snackbar__content ">
60+ Your bread is done, ready to serve. You happy now?
61+ </ div >
62+ < button type ="button " class ="snackbar__button "> Okay</ button >
63+ </ div >
64+ </ div >
65+ </ div >
66+ </ body >
67+ </ html >
0 commit comments