Templates
Date: December 28, 2022
HTML
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Photo Gallery</title>
<link href='https://fonts.googleapis.com/css?family=Varela+Round' rel='stylesheet' type='text/css'> <!-- this is where i link the fonts -->
<link rel="stylesheet" href="style.css">
</head>
<body>
</body>
</html>
CSS
/* =================================
Base Styles
==================================== */
body {
display: flex;
flex-direction: column;
min-height: 100vh;
}
.row {
flex: 1;
}
p {
display: flex;
align-items: flex-start;
}
/* =================================
Media Queries
==================================== */
@media (max-width: 400px) { /* MOBILE */
.main-header,
.main-nav {
display: flex;
}
.main-header {
flex-direction: column;
align-items: center;
}
}
@media (min-width: 769px) { /*TABLET*/
.main-header,
.main-nav {
display: flex;
}
.main-header {
flex-direction: column;
align-items: center;
}
}
@media (min-width: 1025px) { /* DESKTOP */
.main-header {
flex-direction: row;
justify-content: space-between;
}
}