4 Bed
104 |├── images ├── banner.png ├── house1.png ├── house2.png ├── house3.png ├── banner1.png ├── area.svg ├── bed.svg ├── arrow.svg ├── size.svg ├── home1.svg ├── location.svg └── money.svg ├── README.md ├── app.js ├── media.css ├── index.html └── style.css /images/banner.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abirhasn07/T-House/HEAD/images/banner.png -------------------------------------------------------------------------------- /images/house1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abirhasn07/T-House/HEAD/images/house1.png -------------------------------------------------------------------------------- /images/house2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abirhasn07/T-House/HEAD/images/house2.png -------------------------------------------------------------------------------- /images/house3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abirhasn07/T-House/HEAD/images/house3.png -------------------------------------------------------------------------------- /images/banner1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abirhasn07/T-House/HEAD/images/banner1.png -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | House Rent Website Using HTML ,CSS & GSAP 2 |  3 | -------------------------------------------------------------------------------- /images/area.svg: -------------------------------------------------------------------------------- 1 | 5 | -------------------------------------------------------------------------------- /images/bed.svg: -------------------------------------------------------------------------------- 1 | 4 | -------------------------------------------------------------------------------- /images/arrow.svg: -------------------------------------------------------------------------------- 1 | 4 | -------------------------------------------------------------------------------- /images/size.svg: -------------------------------------------------------------------------------- 1 | 4 | -------------------------------------------------------------------------------- /images/home1.svg: -------------------------------------------------------------------------------- 1 | 5 | -------------------------------------------------------------------------------- /images/location.svg: -------------------------------------------------------------------------------- 1 | 4 | -------------------------------------------------------------------------------- /app.js: -------------------------------------------------------------------------------- 1 | const line1=document.querySelector('.line1'); 2 | const line2=document.querySelector('.line2'); 3 | const line3=document.querySelector('.line3'); 4 | const sidebar=document.querySelector('.nav-list'); 5 | 6 | 7 | const showMenu=()=>{ 8 | line1.classList.toggle('active'); 9 | line2.classList.toggle('active'); 10 | line3.classList.toggle('active'); 11 | sidebar.classList.toggle("active") 12 | 13 | } 14 | 15 | 16 | TweenMax.from('.navbar',1,{ 17 | delay:.3, 18 | x:-40, 19 | opacity:0, 20 | ease:Expo.easeInOut 21 | }) 22 | TweenMax.from('.header-headline',2,{ 23 | delay:.5, 24 | y:80, 25 | opacity:0, 26 | ease:Expo.easeInOut 27 | }) 28 | TweenMax.from('.header-subtitle',3,{ 29 | delay:.5, 30 | y:20, 31 | opacity:0, 32 | ease:Expo.easeInOut 33 | }) 34 | TweenMax.from('.cta',4,{ 35 | delay:.5, 36 | y:20, 37 | opacity:0, 38 | ease:Expo.easeInOut 39 | }) 40 | TweenMax.from('form',5,{ 41 | delay:0.3, 42 | y:80, 43 | opacity:0, 44 | ease:Expo.easeInOut 45 | }) 46 | TweenMax.from('.product-info',6,{ 47 | delay:0.5, 48 | x:-100, 49 | opacity:0, 50 | ease:Expo.easeInOut 51 | }) 52 | TweenMax.from('.product-card',7,{ 53 | delay:0.5, 54 | y:200, 55 | opacity:0, 56 | ease:Expo.easeInOut 57 | }) -------------------------------------------------------------------------------- /images/money.svg: -------------------------------------------------------------------------------- 1 | 4 | -------------------------------------------------------------------------------- /media.css: -------------------------------------------------------------------------------- 1 | @media (max-width:600px) { 2 | .navbar { 3 | 4 | box-shadow: 2px 2px 2px rgba(80, 80, 80, 0.15); 5 | min-height: 80px; 6 | z-index: 9999; 7 | } 8 | 9 | .logo { 10 | color: #fff; 11 | } 12 | 13 | 14 | 15 | 16 | .nav-list { 17 | position: absolute; 18 | flex-direction: column; 19 | align-items: start; 20 | top: -50vh; 21 | gap: 2rem; 22 | left: 0%; 23 | padding-left: 0; 24 | transition: opacity 200ms ease-in-out; 25 | background-color: #505050; 26 | width: 100%; 27 | opacity: 0; 28 | justify-content: start; 29 | 30 | 31 | 32 | 33 | } 34 | 35 | .nav-list :last-child { 36 | padding-bottom: 1rem; 37 | 38 | } 39 | 40 | .nav-list.active { 41 | opacity: 1; 42 | top: 60px; 43 | padding-left: 1rem; 44 | padding-top: 1rem; 45 | z-index: 9999; 46 | 47 | } 48 | 49 | 50 | .contact { 51 | background-color: transparent; 52 | padding-left: 0; 53 | } 54 | 55 | .mobile-menu { 56 | display: block; 57 | position: relative; 58 | height: 35px; 59 | width: 35px; 60 | /* background-color: rgb(224, 228, 13); */ 61 | display: flex; 62 | justify-content: center; 63 | align-items: center; 64 | flex-direction: column; 65 | gap: 0.5rem; 66 | margin-right: 1rem; 67 | 68 | } 69 | 70 | .line { 71 | width: 90%; 72 | height: 4px; 73 | background-color: #fff; 74 | border-radius: 5px; 75 | position: absolute; 76 | transition: transform 300ms ease-in-out; 77 | } 78 | 79 | .line1 { 80 | top: 3px; 81 | } 82 | 83 | .line1.active { 84 | transform: rotate(49deg); 85 | top: 15px; 86 | } 87 | 88 | .line2.active { 89 | transform: translateX(30px); 90 | opacity: 0; 91 | } 92 | 93 | .line3 { 94 | bottom: 3px; 95 | 96 | } 97 | 98 | .line3.active { 99 | 100 | transform: rotate(-49deg); 101 | bottom: 16px; 102 | 103 | } 104 | 105 | 106 | 107 | 108 | 109 | .header { 110 | height: 600px; 111 | /* z-index: -1; */ 112 | } 113 | 114 | .header.container { 115 | width: 100%; 116 | z-index: -99; 117 | } 118 | .header-info{ 119 | z-index: 989; 120 | } 121 | 122 | .header-headline { 123 | font-size: 2.5rem; 124 | /* text-align: left; */ 125 | width: 100%; 126 | padding: 0; 127 | line-height: 140%; 128 | font-weight: 900; 129 | } 130 | 131 | .header-subtitle { 132 | width: 100%; 133 | font-size: 0.825rem; 134 | padding: 1rem; 135 | } 136 | 137 | .cta { 138 | width: 100px; 139 | font-size: 0.825rem; 140 | } 141 | 142 | form{ 143 | width: 100%; 144 | display: block; 145 | margin-top: -100px; 146 | border-radius: 0; 147 | } 148 | form .container{ 149 | width: 100%; 150 | border-top-right-radius: 0; 151 | border-top-left-radius: 0; 152 | box-shadow: 0px 5px 10px rgba(80, 80, 80, 0.15); 153 | padding-block: 2rem; 154 | } 155 | 156 | .input{ 157 | flex-basis: 70%; 158 | } 159 | #product { 160 | 161 | } 162 | 163 | .product-info{ 164 | width: 90%; 165 | flex-direction: column; 166 | justify-content: center; 167 | /* background-color: red; */ 168 | } 169 | 170 | .product-info .product-title{ 171 | font-size: 1.5rem; 172 | width: 100%; 173 | flex-basis: 100%; 174 | text-align: center; 175 | } 176 | .product-btn{ 177 | width: 350px; 178 | } 179 | #product .container{ 180 | gap: 2rem; 181 | } 182 | 183 | .product-card{ 184 | flex-basis: 100%; 185 | } 186 | } -------------------------------------------------------------------------------- /index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 |
5 | 6 | 7 | 8 |46 | we help you get your dream house with us. 47 | We are professional house consultant 48 |
49 | 50 | Explore Now 51 |
94 | jakarta barat indonesia
99 |4 Bed
104 |10x10m
108 |14000M
112 |$540000
116 | Book Now 117 |
123 | jakarta barat indonesia
128 |4 Bed
133 |10x10m
137 |14000M
141 |$540000
145 | Book Now 146 |
152 | jakarta barat indonesia
157 |4 Bed
162 |10x10m
166 |14000M
170 |$540000
174 | Book Now 175 |