Collapse page size selector

This commit is contained in:
Balakrishnan Balasubramanian 2024-08-10 12:16:03 -04:00
parent c7e5fb83fc
commit a97d98c3e6
2 changed files with 13 additions and 12 deletions

View File

@ -91,7 +91,7 @@
"A B" "A B"
"C C" "C C"
"C C" "C C"
"D E" "D E";
} }
.two-one-two-topbottom .img1 { .two-one-two-topbottom .img1 {
@ -101,27 +101,27 @@
.two-row { .two-row {
display: grid; display: grid;
grid-template-areas: grid-template-areas:
"A B" "A B";
} }
.three-row { .three-row {
display: grid; display: grid;
grid-template-areas: grid-template-areas:
"A B C" "A B C";
} }
.four-row { .four-row {
display: grid; display: grid;
grid-template-areas: grid-template-areas:
"A B C D" "A B C D";
} }
.one-three-topbottom { .one-three-topbottom {
display: grid; display: grid;
grid-template-areas: grid-template-areas:
"A A A" "A A A"
"B C D" "B C D";
} }
.one-three-topbottom .img1 { .one-three-topbottom .img1 {
grid-area: A grid-area: A;
} }

View File

@ -12,11 +12,12 @@
<div class="container"> <div class="container">
<div class="controls"> <div class="controls">
<h2>Photo Collage</h2>
<p><a href="choose.html">Select Images</a></p> <p><a href="choose.html">Select Images</a></p>
<label> <label>
<span>Paper size</span> <span>Paper size</span>
<select id="page_size_selector" size=6> <select id="page_size_selector">
<option value="letter-portrait" > Letter (Portrait) </option> <option value="letter-portrait" > Letter (Portrait) </option>
<option selected value="letter-landscape" > Letter (Landscape) </option> <option selected value="letter-landscape" > Letter (Landscape) </option>
<option value="fiveseven-portrait" > 5 × 7 (Portrait) </option> <option value="fiveseven-portrait" > 5 × 7 (Portrait) </option>