HTML, CSS kullanarak yapmaya çalıştığım login panelinde "submit" butonunu bilgi kutucuklarına göre nasıl ortalayabilirim?
index.html:
Main. CSS:
Çıktı:
index.html:
Kod:
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Dionysus login panel</title>
<link rel="stylesheet" type="text/css" href="main.css">
</head>
<body>
<form class= "eposta" action="get">
<input type="text" placeholder="e posta or username" >
</form>
<form class= "sifre" action="get">
<input type="text" placeholder="password" >
</form>
<form class="gonder" action="get">
<input type="submit" value="submit">
</form>
</body>
</html>
Main. CSS:
Kod:
input {
padding:8px 20px;
border: 1px solid #eee;
border-left: 3px solid;
border-left-color:rgb(63, 63, 63);
border-radius: 5px;
transition: border-color .8s ease-out;
}
input:focus{
outline:none;
border: 1px solid #eee;
border-left: 3px solid #888;
}
Çıktı: