Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

removed-horizontal-scroll-and-fixed-homepage-ui #414

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
54 changes: 44 additions & 10 deletions style.css → css/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -346,15 +346,25 @@ section {
color: #fff;
background: #3fbcc0a4;
}
#home video{
margin-top: -70px;
margin-left: 50PX;
height: 900px;
position: absolute;
top: 200px;
left: 550px;

@media(min-width: 868px){
#home .wall{
height: 100%;
}
#home video{
height: 750px;
position: absolute;
top: 150px;
left: 570px;
max-width:90%;
}

}





#home .btn-get-started:hover {
background: #3fbcc0c6;
}
Expand Down Expand Up @@ -389,7 +399,30 @@ section {
height: 110vh;
}
}
@media (max-width: 867px) {

#home{
display: flex;
flex-direction: column;
width: 100%;
height: 1100px;
}
#home .video{
height: 500px;
width: 700px;
}

#home .container{
text-align: center;
max-width: 90%;

}
#home .wall{
position: static;
min-width: 90%;
max-height: 650px;
}
}


/*################----Featured----################*/
Expand Down Expand Up @@ -516,6 +549,8 @@ section {
background: #111111;
border-radius: 10px;
margin-top: 40px;
padding:20px;
max-width: 950px;
}

.about .icon-box .icon {
Expand Down Expand Up @@ -571,9 +606,8 @@ section {

.about .video-box {
background: url("../img/about.png") center center no-repeat;
background-size: cover;
height: 300px;
top: 50px;
background-size: 500px 450px;
top: 20px;
}

.about .play-btn {
Expand Down
10 changes: 6 additions & 4 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,9 @@
<link href="remixicon/remixicon.css" rel="stylesheet">
<link href="swiper/swiper-bundle.min.css" rel="stylesheet">
<link href="css/style.css" rel="stylesheet">

<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" integrity="sha384-T3c6CoIi6uLrA9TneNEoa7RxnatzjcDSCmG1MXxSR1GAsXEV/Dwwykc2MPK8M2HN" crossorigin="anonymous">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/[email protected]/font/bootstrap-icons.css" integrity="sha384-4LISF5TTJX/fLmGSxO53rV4miRxdg84mZsxmO8Rx5jGtp/LbrixFETvWa5a6sESd" crossorigin="anonymous">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.2/css/all.min.css" integrity="sha512-SnH5WK+bZxgPHs44uWIX+LLJAJ9/2PkPKZ5QiAj6Ta86w+fsb2TkcmfRyVX3pBnMFcV7oQPJkl9QevSCWr3W6A==" crossorigin="anonymous" referrerpolicy="no-referrer" />
</head>

<body>
Expand Down Expand Up @@ -75,12 +77,12 @@ <h1 class="logo me-auto"><a href="index.html">RapiDoc</a></h1>


<section id="home" class="d-flex align-items-center">
<div class="container">
<div class="container ">
<h1>Welcome to RapiDoc</h1>
<h2>Your One-stop digital healthcare destination.<br>Get details about <span class="multiple-text"></span></h2>
<a href="#about" class="btn-get-started scrollto">Download App</a>
</div>
<div class="wall"><video autoplay loop muted plays-inline><source src="2.mp4"></video></div>
<div class="wall"><video autoplay loop muted plays-inline width="800px"><source src="2.mp4" ></video></div>
</section>
<!-- End Home -->
<br><br><br><br><br><br><br><br>
Expand Down Expand Up @@ -602,7 +604,7 @@ <h4>Daily Newsletter</h4>
<script src="swiper/swiper-bundle.min.js"></script>
<script src="https://unpkg.com/[email protected]/dist/typed.umd.js"></script>
<script src="js/main.js"></script>

<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.min.js" integrity="sha384-BBtl+eGJRgqQAUMxJ7pMwbEyER4l1g+O15P+16Ep7Q9Q+zqX6gSbd85u4mG4QzX+" crossorigin="anonymous"></script>
</body>

</html>