Charaa
Hectopat
Daha fazla
- Cinsiyet
- Erkek
- Meslek
- Öğrenci
Kodlama hakkında bilgim yok. Kafam esti ödev için kağıda kartona yapmayayım basit bir site yapayım dedim. Video izleyerek yapıyordum. Ama ne yaparsam yapayım yazıyı ortalayamıyorum.
Ortalamaya çalıştığım yazılar link olanlar:
<a href="#">All Irregular Verbs</a>
<a href="#">Irregular Verbs Oyunu</a>
*{
margin: 0;
padding: 0;
}
.container{
background: url(bg.jpg);
height: 100vh;
background-size: 100% 100%;
}
.container .navbar{
width: 100%;
height: 80px;
background: rgba(0, 0, 0, 0.426);
}
.navbar .logo{
display: inline-block;
margin-left: 50px;
margin-top: 20px;
}
.navbar .logo {
text-decoration: none;
font-size: 30px;
font-family: sans-serif;
color: #f3f3f3;
}
.navbar ul{
float: right;
margin-right: 20px;
}
.navbar ul li{
list-style: none;
display: inline-block;
margin: 0 8px;
line-height: 80px;
}
.navbar ul li {
color: white;
text-decoration: none;
font-size: 20px;
padding: 6px 13px;
font-family: sans-serif;
}
.container .center{
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%,-50%);
font-family: sans-serif;
user-select: none;
}
.center h1{
color: white;
font-size: 60px;
font-weight: bold;
width: 900px;
text-align: center;
}
.center h2{
color: #ffffff57;
font-size: 40px;
font-weight: bold;
width: 885px;
text-align: center;
margin-top: 15px;
display: inline-block;
margin-bottom: 300px;
}
a{
color: white;
text-decoration: none;
background-color: white;
padding: 20px;
width: 280px;
color: black;
text-align: center;
font-size: 18px;
text-decoration: none;
border-radius: 56px;
transition: all .25s ease-in;
display: inline-block;
display: flex;
justify-content: center;
margin-top: 48px;
column-gap: 16px;
margin: 0;
padding: 0;
}
.container{
background: url(bg.jpg);
height: 100vh;
background-size: 100% 100%;
}
.container .navbar{
width: 100%;
height: 80px;
background: rgba(0, 0, 0, 0.426);
}
.navbar .logo{
display: inline-block;
margin-left: 50px;
margin-top: 20px;
}
.navbar .logo {
text-decoration: none;
font-size: 30px;
font-family: sans-serif;
color: #f3f3f3;
}
.navbar ul{
float: right;
margin-right: 20px;
}
.navbar ul li{
list-style: none;
display: inline-block;
margin: 0 8px;
line-height: 80px;
}
.navbar ul li {
color: white;
text-decoration: none;
font-size: 20px;
padding: 6px 13px;
font-family: sans-serif;
}
.container .center{
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%,-50%);
font-family: sans-serif;
user-select: none;
}
.center h1{
color: white;
font-size: 60px;
font-weight: bold;
width: 900px;
text-align: center;
}
.center h2{
color: #ffffff57;
font-size: 40px;
font-weight: bold;
width: 885px;
text-align: center;
margin-top: 15px;
display: inline-block;
margin-bottom: 300px;
}
a{
color: white;
text-decoration: none;
background-color: white;
padding: 20px;
width: 280px;
color: black;
text-align: center;
font-size: 18px;
text-decoration: none;
border-radius: 56px;
transition: all .25s ease-in;
display: inline-block;
display: flex;
justify-content: center;
margin-top: 48px;
column-gap: 16px;
Ortalamaya çalıştığım yazılar link olanlar:
<a href="#">All Irregular Verbs</a>
<a href="#">Irregular Verbs Oyunu</a>