grid layout
This commit is contained in:
parent
1f6d3b1118
commit
790f09088c
2 changed files with 39 additions and 42 deletions
43
index.html
43
index.html
|
@ -14,10 +14,8 @@
|
||||||
<a href="Contact.html">Contact</a>
|
<a href="Contact.html">Contact</a>
|
||||||
</nav>
|
</nav>
|
||||||
|
|
||||||
<main>
|
<main id="home_page_content">
|
||||||
<div class='columns'>
|
<header id="head">
|
||||||
<div class='rows'>
|
|
||||||
<header>
|
|
||||||
<h1>Paws And Petals</h1>
|
<h1>Paws And Petals</h1>
|
||||||
Paws And Petals is a small local dog grooming business
|
Paws And Petals is a small local dog grooming business
|
||||||
started up by Arianwen Evans to allow her to work in
|
started up by Arianwen Evans to allow her to work in
|
||||||
|
@ -26,30 +24,25 @@
|
||||||
Starting out with the pets of friends and family, she hopes to
|
Starting out with the pets of friends and family, she hopes to
|
||||||
slowly develop a small userbase of friends and local-clientelle.
|
slowly develop a small userbase of friends and local-clientelle.
|
||||||
</header>
|
</header>
|
||||||
<section>
|
<section id="qual">
|
||||||
<h2>Qualifications</h2>
|
<h2>Qualifications</h2>
|
||||||
Arianwen Evans holds:
|
Arianwen Evans holds:
|
||||||
<ul>
|
<ul>
|
||||||
<li>Level 3 City and guilds animal management</li>
|
<li>Level 3 City and guilds animal management</li>
|
||||||
<li>Level 3 Diploma in dog grooming</li>
|
<li>Level 3 Diploma in dog grooming</li>
|
||||||
</ul>
|
</ul>
|
||||||
</section>
|
</section>
|
||||||
</div>
|
<section id='times'>
|
||||||
<div class='rows'>
|
<h2>Opening Times</h2>
|
||||||
<section id='contact'>
|
Monday-Friday: 10am - 5pm
|
||||||
<h2>Opening Times</h2>
|
<br>
|
||||||
Monday-Friday: 10am - 5pm
|
Saturday-Sunday: Closed
|
||||||
<br>
|
|
||||||
Saturday-Sunday: Closed
|
|
||||||
</section>
|
</section>
|
||||||
<section>
|
<section id="book">
|
||||||
<h2>How To Book</h2>
|
<h2>How To Book</h2>
|
||||||
To book, see our <a href="Contact.html">contact</a>
|
To book, see our <a href="Contact.html">contact</a>
|
||||||
page and email us.
|
page and email us.
|
||||||
</section>
|
</section>
|
||||||
</div>
|
|
||||||
|
|
||||||
</div>
|
|
||||||
</main>
|
</main>
|
||||||
|
|
||||||
</body>
|
</body>
|
||||||
|
|
38
style.css
38
style.css
|
@ -81,26 +81,30 @@ a:hover{
|
||||||
color: black;
|
color: black;
|
||||||
}
|
}
|
||||||
|
|
||||||
.columns{
|
#home_page_content{
|
||||||
display: flex;
|
display: grid;
|
||||||
flex-direction: row;
|
gap: 7px;
|
||||||
gap: 10px;
|
grid-template-areas:
|
||||||
justify-content: space-between;
|
"head open"
|
||||||
align-content: stetch;
|
"qual book";
|
||||||
align-items: stretch;
|
grid-template-columns: 3fr 1fr;
|
||||||
}
|
}
|
||||||
|
|
||||||
.rows{
|
#times{
|
||||||
display: flex;
|
|
||||||
flex-direction: column;
|
|
||||||
gap: 10px;
|
|
||||||
align-content: stretch;
|
|
||||||
align-items: stretch;
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
#contact{
|
|
||||||
text-align: center;
|
text-align: center;
|
||||||
|
grid-area: open
|
||||||
|
}
|
||||||
|
|
||||||
|
#head{
|
||||||
|
grid-area: head;
|
||||||
|
}
|
||||||
|
|
||||||
|
#qual{
|
||||||
|
grid-area: qual
|
||||||
|
}
|
||||||
|
|
||||||
|
#book{
|
||||||
|
grid-area: book;
|
||||||
}
|
}
|
||||||
|
|
||||||
.socials{
|
.socials{
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue