added new button
This commit is contained in:
@@ -1,73 +1,88 @@
|
||||
body::-webkit-scrollbar {
|
||||
display: none; /* Safari and Chrome */
|
||||
}
|
||||
.doctor_img {
|
||||
width: 95vw;
|
||||
margin-left: 30px;
|
||||
margin-right: 30px;
|
||||
margin-top: 50px;
|
||||
}
|
||||
|
||||
.doctor_img {
|
||||
width: 95vw;
|
||||
margin-left: 30px;
|
||||
margin-right: 30px;
|
||||
margin-top: 50px;
|
||||
|
||||
}
|
||||
.title_1 {
|
||||
width: 250px;
|
||||
margin-left: 100px;
|
||||
margin-top: -400px;
|
||||
font-size: 20;
|
||||
}
|
||||
|
||||
.title_1{
|
||||
width: 250px;
|
||||
margin-left: 100px;
|
||||
margin-top: -400px;
|
||||
font-size: 20;
|
||||
}
|
||||
h3 {
|
||||
width: 500px;
|
||||
color: rgb(181, 181, 181);
|
||||
font-size: 10;
|
||||
font-weight: lighter;
|
||||
}
|
||||
|
||||
h3 {
|
||||
width: 500px;
|
||||
color: rgb(181, 181, 181);
|
||||
font-size: 10;
|
||||
font-weight: lighter;
|
||||
.book-appointment {
|
||||
background-color: white;
|
||||
border-radius: 10px;
|
||||
box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
|
||||
width: 75%;
|
||||
position: absolute;
|
||||
top: 105%;
|
||||
left: 12%;
|
||||
margin-bottom: 100px;
|
||||
}
|
||||
|
||||
}
|
||||
h4 {
|
||||
margin-left: 20px;
|
||||
padding-top: 10px;
|
||||
}
|
||||
|
||||
.book-appointment{
|
||||
background-color: white;
|
||||
border-radius: 10px;
|
||||
box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2);
|
||||
transition: 0.3s;
|
||||
width: 75%;
|
||||
position: absolute;
|
||||
top: 110%;
|
||||
left: 50%;
|
||||
transform: translate(-50%, -50%);
|
||||
|
||||
}
|
||||
|
||||
h4 {
|
||||
margin-left: 20px;
|
||||
padding-top: 10px;
|
||||
}
|
||||
|
||||
|
||||
.rounded-input {
|
||||
border: 1px solid #ccc;
|
||||
border-radius: 10px; /* Adjust this value to change the radius */
|
||||
padding: 5px;
|
||||
width: 30%;
|
||||
height: 35px; /* Set the width of each input field */
|
||||
margin: 1%; /* Add some margin for spacing */
|
||||
.rounded-input {
|
||||
border: 1px solid #ccc;
|
||||
border-radius: 10px; /* Adjust this value to change the radius */
|
||||
padding: 10px;
|
||||
width: 30%;
|
||||
height: 35px; /* Set the width of each input field */
|
||||
margin: 1%; /* Add some margin for spacing */
|
||||
}
|
||||
|
||||
/* Style for the container div */
|
||||
.input-container {
|
||||
display: flex; /* Make the children flex items */
|
||||
justify-content: space-between; /* Space the children equally */
|
||||
margin-bottom: 10px; /* Add some margin for spacing */
|
||||
display: flex; /* Make the children flex items */
|
||||
justify-content: space-between; /* Space the children equally */
|
||||
margin-bottom: 10px; /* Add some margin for spacing */
|
||||
}
|
||||
|
||||
|
||||
/* Style for the "Book Appointment" button */
|
||||
.book-appointment-button {
|
||||
background-color: #17C1A3;
|
||||
border-color: white;
|
||||
color: white;
|
||||
border-radius: 10px;
|
||||
padding: 5px;
|
||||
width: 30%;
|
||||
height: 50px;
|
||||
margin: 1%;
|
||||
cursor: pointer;
|
||||
outline: none;
|
||||
}
|
||||
background-color: #17c1a3;
|
||||
border-color: white;
|
||||
color: white;
|
||||
border-radius: 10px;
|
||||
padding: 15px;
|
||||
width: 33%;
|
||||
height: 55px;
|
||||
margin: 1%;
|
||||
cursor: pointer;
|
||||
outline: none;
|
||||
border: none;
|
||||
}
|
||||
|
||||
/* Style for the "Book Appointment" button */
|
||||
.small {
|
||||
background-color: #17c1a3;
|
||||
color: white;
|
||||
border-radius: 10px;
|
||||
padding: 15px;
|
||||
width: 15%;
|
||||
height: 55px;
|
||||
margin: 1%;
|
||||
cursor: pointer;
|
||||
outline: none;
|
||||
border: none;
|
||||
}
|
||||
|
||||
.book-appointment-div {
|
||||
margin-left: 80px;
|
||||
}
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
<head>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
||||
<link rel="stylesheet" href="top_header.css" />
|
||||
<link rel="stylesheet" href="/nav_bar/nav_bar.css"/>
|
||||
<link rel="stylesheet" href="/nav_bar/nav_bar.css" />
|
||||
</head>
|
||||
<body>
|
||||
<div>
|
||||
@@ -27,36 +27,45 @@
|
||||
|
||||
<!--starting of the rest of the header code-->
|
||||
<div class="top-header-container">
|
||||
|
||||
<div class="img_container">
|
||||
<img class="doctor_img" src="img/doctor_img.png" alt="doc image" />
|
||||
</div>
|
||||
|
||||
<div class="title_1">
|
||||
<h1>Love & Care to Humanity</h1>
|
||||
<h3>Fastest-Growing Multi Speciality Hospital in South Kerala</h1>
|
||||
<h3>Fastest-Growing Multi Speciality Hospital in South Kerala</h3>
|
||||
</div>
|
||||
|
||||
<div class="book-appointment-div">
|
||||
<button class="book-appointment-button small">
|
||||
Book Appointment
|
||||
</button>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
<div class="book-appointment">
|
||||
<h4>Book an Appoinment</h4>
|
||||
|
||||
<div class="input-container">
|
||||
<input type="text" placeholder="Full name" class="rounded-input">
|
||||
<input type="text" placeholder="Phone number" class="rounded-input">
|
||||
<input type="text" placeholder="Select Date" class="rounded-input">
|
||||
<input type="text" placeholder="Full name" class="rounded-input" />
|
||||
<input type="text" placeholder="Phone number" class="rounded-input" />
|
||||
<input type="text" placeholder="Select Date" class="rounded-input" />
|
||||
</div>
|
||||
|
||||
<div class="input-container">
|
||||
<input type="text" placeholder="Select Department" class="rounded-input">
|
||||
<input type="text" placeholder="Select Doctor" class="rounded-input">
|
||||
<button class="book-appointment-button">Book Appointment</button>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
<div class="input-container">
|
||||
<input
|
||||
type="text"
|
||||
placeholder="Select Department"
|
||||
class="rounded-input"
|
||||
/>
|
||||
<input
|
||||
type="text"
|
||||
placeholder="Select Doctor"
|
||||
class="rounded-input"
|
||||
/>
|
||||
<button class="book-appointment-button">Book Appointment</button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
Reference in New Issue
Block a user