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

View File

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