Tuesday, September 21, 2021

Html Forms with CSS Style Botton Border

 Html Forms with CSS Style Botton Border Code

<!DOCTYPE html>>

<html>


<head>

    <meta charset="utf-8">

    <meta name="viewport" content="width=device-width, initial-scale=1">

    <link rel="stylesheet" type="text/css" href="nav.css">

    <title>Html Form</title>

</head>


<body>

<form>

    <label for="fname">first name</label><br>

    <input type="text"id="fname"placeholder="You First name"><br>

    <label for="lname">last name</label><br>

    <input type="text"id="lname"placeholder="You last name"><br>

</form>

</body>


</html>


CSS STYLE Botton Border 

input[type=text]{

     padding:12px 20px;

     margin:8px 0px;

     box-sizing: border-box;

     border: none;

     border-bottom:2px solid red ;

}

No comments:

Post a Comment

JavaScript Animated

  JavaScript Animated <!DOCTYPE html> <html> <style> #myContainer {   width: 400px;   height: 400px;   position: relative;...