Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
65 changes: 65 additions & 0 deletions css03-pagetitle.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,65 @@
*{
padding:0 ;
margin: 0;
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}

body{
display: flex;
flex-direction: column;
align-items: center;
}

.relleno--up {
height: 10px;
background-color: rgb(230, 215, 195);
}
.container {
/* border: 2px solid black; */
width: 100%;
height: 600px;
margin: 20px auto;
max-width: 360px;
box-shadow: 3px 3px 10px 2px rgba(0 , 0, 0, 0.1);
}

nav {
background-color: antiquewhite;
height: 50px;
box-shadow: 0px 3px 10px 1px rgba(0 , 0, 0, 0.1);
}

nav, ul {
display: flex;
justify-content: space-between;
}

.li {
display: flex;
list-style: none;
margin: 5px;
align-items: center;
cursor: pointer;
}

.li p{
display: inline;
}

.li img{
width: 25px;

}

button{
width: 80px;
height: 40px;
background-color: antiquewhite;
border: none;
font-size: 1.1em;
transition: .5s;
}

button:hover{
box-shadow: 0px 3px 10px 1px rgba(0 , 0, 0, 0.1);
}
27 changes: 27 additions & 0 deletions css03-pagetitle.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="css03-pagetitle.css">
<title>Page Title</title>
</head>
<body>
<div class="container">
<div class="relleno--up"></div>
<nav class="nav">
<ul class="ul">
<li class="li"><img src="https://image.flaticon.com/icons/svg/149/149145.svg" alt=""></li>
<li class="li"><p>Page Title<Title></Title></p></li>
</ul>

<ul>
<li class="li"><img src="https://image.flaticon.com/icons/svg/149/149217.svg" alt=""></li>
<li class="li"><img src="https://image.flaticon.com/icons/svg/149/149309.svg" alt=""></li>
<li class="li"><img src="https://image.flaticon.com/icons/svg/149/149179.svg" alt=""></li>
</ul>
</nav>
</div>
<a href="index.html"><button >Home</button></a>
</body>
</html>