34
loading...
This website collects cookies to deliver better user experience
<h1>HELLO!</h1>
<input>
tag, by default has a white background and a border. Looks decent, na? But sometimes, for me, it looks boring enough, for some reason that I don't know. But, for that instance I thought to edit this 'outdated' (I mustn't say it...) thing. Here I will share that code with you. Enjoy the article 🙃.Design comes from your mind
It is a thing that someone could find
With it creativity is just 'yeah'
Someone said,
Without art, Earth is just 'eh'
<!DOCTYPE html>
<html lang="en">
<head>
<title>How to make an awesome <input> tag using HTML and CSS
</title>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<style>
body {
margin: 0;
}
</style>
</head>
<body>
</body>
</html>
<input>
tag under <body>
tag.<input>
placeholder=""
attribute in <input>
tag to add a text in <input>
<input placeholder="Hello! 😎">
<input>
tag is ready. But it isn't looking sober. So we have to edit this...<input style="padding: 10px;" placeholder="Hello! 😎">
<input style="padding: 10px;background-color: rgba(225, 225, 255);" placeholder="Hello! 😎">
good-looking
border.<input style="padding: 10px;background-color: rgba(225, 225, 255);border: 2px solid rgba(155, 155, 255);" placeholder="Hello! 😎">
<input style="padding: 10px;background-color: rgba(225, 225, 255);border: 2px solid rgba(155, 155, 255);border-radius: 100px;" placeholder="Hello! 😎">
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Poppins">
<!DOCTYPE html>
<html lang="en">
<head>
<title>How to make an awesome <input> tag using HTML and CSS
</title>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Poppins">
<style>
body {
margin: 0;
}
</style>
</head>
<body>
<input style="padding: 10px;background-color: rgba(225, 225, 255);border: 2px solid rgba(155, 155, 255);border-radius: 100px;" placeholder="Hello! 😎">
</body>
</html>
<input>
<input style="padding: 10px;background-color: rgba(225, 225, 255);border: 2px solid rgba(155, 155, 255);border-radius: 100px;font-family: Poppins" placeholder="Hello! 😎">
<!DOCTYPE html>
<html lang="en">
<head>
<title>How to make an awesome <input> tag using HTML and CSS
</title>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Poppins">
<style>
body {
margin: 0;
}
</style>
</head>
<body>
<input style="padding: 10px;background-color: rgba(225, 225, 255);border: 2px solid rgba(155, 155, 255);border-radius: 100px;font-family: Poppins" placeholder="Hello! 😎">
</body>
</html>