I'm struggling to round my input group like the example shown in this template.
Currently, my output looks like this: my example.
This is my code:
.eersteKnop{
color: #d32721;
background-color: white;
}
.btn{
font-family: 'LatoLight',sans-serif;
}
.round{
border-radius: 20px !important;
}
.form-control{
background-color: rgba(255,255,255,0.3);
}
::placeholder { /* Chrome, Firefox, Opera, Safari 10.1+ */
color: white !important;
opacity: 1; /* Firefox */
}
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8>;
<meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0>;
<meta http-equiv="X-UA-Compatible" content="ie=edge>;
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.4.1/css/bootstrap.min.css" integrity="sha384-Vkoo8x4CGsO3+Hhxv8T/Q5PaXtkKtu6ug5TOeNV6gBiFeWPGFN9MuhOf23Q9Ifjh" crossorigin="anonymous>;
<title>Rounded inputgroup</title>;
</head>
<body>;
<div class="input-group mb-3>;
<input type="text" class="form-control round" placeholder="Email address" aria-label="emailaddress" aria-describedby="basic-addon2>;
<div class="input-group-append>;
<button class="btn eersteKnop round pl-4 pr-4" type="button>;Send</button>;
</div>;
</div>;
</body>;
</html>
Do I need to utilize position relative/absolute for a solution, or is there another way?
Thank you for your assistance,
Best regards,
Janne