Hello everyone, In this post, we will learn how to create a beautiful and simple landing page using HTML CSS, and JavaScript. In the last post, we discussed how to create a Landing page HTML template free download but now we are going to discuss how to create a beautiful and simple landing page using 3 front-end languages.
Html landing page:
Html, CSS, and Javascript:
As you can see in the image we have created a beautiful and modern landing page. This page has a lot of features and we have created it using HTML, CSS and JavaScript. We have used the Html for creating the skeleton of a landing page and CSS is used for creating the design of the landing page we have also used the CSS for making our landing page responsive across all the devices like mobile and tablets etc. JavaScript is a dynamic language and it is used to add functionality to any website or landing page.
You might like it:
The header of the Html landing page:
As you can see in the image that we have a landing page and we have created the header of the landing page. At the top of the landing page, we have divided the header into two sections in the first section on the left-most side we have uploaded the logo of the website and on the right side of the landing page, we have created the menu of the landing page.
Hero Section of Html landing page:
Then we created the hero section of the page and in the hero section, we created two sections of the page. On the left side of the hero section, we have created a section for text heading and buttons and on the right side of the hero section, we have uploaded the picture and graphics of the page.
Then below this hero section, we have created three boxes. And these three boxes are equal in size and have the same color, same shadows, each and everything are same. In all the boxes we have uploaded an image. At the top of the box, we have a heading, and that heading is the main heading. You can name it H1. And then we have a paragraph and it is created with the help of a paragraph tag which is used in Html. And then we created a button. This will help us to move across the page and visit all the sections and pages.
Below these boxes, we have created another section and in this section. We have divided the section into two parts left side and the right side. On the left side, we have uploaded the graphics and pictures related to the landing page or business or website. We have uploaded an icon and along with that, we have heading and text related to that icon. It can be related to some services that are security-related things of the business.
Testimonials section:
When we scroll down then we came across a unique and interesting section and in this section, we have created a section for people who are our customers. We create a beautiful customer review section for our users.
Footer Section:
Then we have another section on this page and that is the final section of this page. In this section, we have created a contact us page. This contact form will help the visitor to contact the company if they have any queries. And in this contact us page we have some input fields and user can enter their data. They can send their information to the team of the business or website. And they will answer their question. Then on the right side of this section, we have some text and links to different social media accounts.
If you want to visit different social media accounts of that company or business then you can go through these links. And by clicking on this can you can visit their social media platform. These icons are important with the help of CSS properties and you can import these icons from the font awesome website. For creating this type of learning page we have to follow some steps and after falling these steps you will be able to create this beautiful and simple learning page. We will create this learning page in simple steps, and you have to follow for steps if you want to create just the type of learning page for you.
How do create an Html landing page?
First, you have to download and install a code editor for the purpose of writing the code. It helps us to write the code without Syntax errors and it also saves us time when we are developing any software or website or page or we are creating any project. Then it helps us to create that project without facing any syntax errors and it also saves our time because it provides us suggestions while coding anything in that code editor. VS Code is recommended.
Html source code:
You have to create an HTML file and save the file with the extension. HTML.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 |
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"> <meta name="description" content=""> <meta name="author" content="TemplateMo"> <link href="https://fonts.googleapis.com/css?family=Poppins:100,200,300,400,500,600,700,800,900&display=swap" rel="stylesheet"> <title>FantacyDesigns Landing Page HTML Template</title> <!-- FantacyDesigns Landing Page https://fantacydesigns.com/blog --> <!-- Additional CSS Files --> <link rel="stylesheet" type="text/css" href="assets/css/bootstrap.min.css"> <link rel="stylesheet" type="text/css" href="assets/css/font-awesome.css"> <link rel="stylesheet" href="assets/css/templatemo-lava.css"> <link rel="stylesheet" href="assets/css/owl-carousel.css"> </head> <body> <!-- ***** Preloader Start ***** --> <div id="preloader"> <div class="jumper"> <div></div> <div></div> <div></div> </div> </div> <!-- ***** Preloader End ***** --> <!-- ***** Header Area Start ***** --> <header class="header-area header-sticky"> <div class="container"> <div class="row"> <div class="col-12"> <nav class="main-nav"> <!-- ***** Logo Start ***** --> <a href="index.html" class="logo"> Fantacy<span>App</span> </a> <!-- ***** Logo End ***** --> <!-- ***** Menu Start ***** --> <ul class="nav"> <li class="scroll-to-section"><a href="#welcome" class="menu-item">Home</a></li> <li class="scroll-to-section"><a href="#about" class="menu-item">About</a></li> <li class="scroll-to-section"><a href="#testimonials" class="menu-item">Testimonials</a> </li> <li class="submenu"> <a href="javascript:;">Drop Down</a> <ul> <li><a href="" class="menu-item">About Us</a></li> <li><a href="" class="menu-item">Features</a></li> <li><a href="" class="menu-item">FAQ's</a></li> <li><a href="" class="menu-item">Blog</a></li> </ul> </li> <li class="scroll-to-section"><a href="#contact-us" class="menu-item">Contact Us</a></li> </ul> <a class='menu-trigger'> <span>Menu</span> </a> <!-- ***** Menu End ***** --> </nav> </div> </div> </div> </header> <!-- ***** Header Area End ***** --> <!-- ***** Welcome Area Start ***** --> <div class="welcome-area" id="welcome"> <!-- ***** Header Text Start ***** --> <div class="header-text"> <div class="container"> <div class="row"> <div class="left-text col-lg-6 col-md-12 col-sm-12 col-xs-12" data-scroll-reveal="enter left move 30px over 0.6s after 0.4s"> <h1>Unique App that we <em>CREATE</em></h1> <p>FantacyApp <a href="https://fantacydesigns.com/category/landing-pages/">HTML landing page</a> template is provided by <a href="#">FantacyDesigns</a>. You can modify and use it for your commercial websites for free of charge. This template is last updated on 20 May 2022.</p> <a href="#about" class="main-button-slider">KNOW US BETTER</a> </div> </div> </div> </div> <!-- ***** Header Text End ***** --> </div> <!-- ***** Welcome Area End ***** --> <!-- ***** Features Big Item Start ***** --> <section class="section" id="about"> <div class="container"> <div class="row"> <div class="col-lg-4 col-md-6 col-sm-12 col-xs-12" data-scroll-reveal="enter left move 30px over 0.6s after 0.4s"> <div class="features-item"> <div class="features-icon"> <h2>01</h2> <img src="assets/images/features-icon-1.png" alt=""> <h4>Trend Analysis</h4> <p>Curabitur pulvinar vel odio sed sagittis. Nam maximus ex diam, nec consectetur diam.</p> <a href="#testimonials" class="main-button"> Read More </a> </div> </div> </div> <div class="col-lg-4 col-md-6 col-sm-12 col-xs-12" data-scroll-reveal="enter bottom move 30px over 0.6s after 0.4s"> <div class="features-item"> <div class="features-icon"> <h2>02</h2> <img src="assets/images/features-icon-2.png" alt=""> <h4>Site Optimization</h4> <p>Curabitur pulvinar vel odio sed sagittis. Nam maximus ex diam, nec consectetur diam.</p> <a href="#testimonials" class="main-button"> Discover More </a> </div> </div> </div> <div class="col-lg-4 col-md-6 col-sm-12 col-xs-12" data-scroll-reveal="enter right move 30px over 0.6s after 0.4s"> <div class="features-item"> <div class="features-icon"> <h2>03</h2> <img src="assets/images/features-icon-3.png" alt=""> <h4>Email Design</h4> <p>Curabitur pulvinar vel odio sed sagittis. Nam maximus ex diam, nec consectetur diam.</p> <a href="#testimonials" class="main-button"> More Detail </a> </div> </div> </div> </div> </div> </section> <!-- ***** Features Big Item End ***** --> <div class="left-image-decor"></div> <!-- ***** Features Big Item Start ***** --> <section class="section" id="promotion"> <div class="container"> <div class="row"> <div class="left-image col-lg-5 col-md-12 col-sm-12 mobile-bottom-fix-big" data-scroll-reveal="enter left move 30px over 0.6s after 0.4s"> <img src="assets/images/left-image.png" class="rounded img-fluid d-block mx-auto" alt="App"> </div> <div class="right-text offset-lg-1 col-lg-6 col-md-12 col-sm-12 mobile-bottom-fix"> <ul> <li data-scroll-reveal="enter right move 30px over 0.6s after 0.4s"> <img src="assets/images/about-icon-01.png" alt=""> <div class="text"> <h4>Vestibulum pulvinar rhoncus</h4> <p>Please do not redistribute this template ZIP file for a download purpose. You may <a rel="nofollow" href="https://templatemo.com/contact" target="_parent">contact</a> us for additional licensing of our template or to get a PSD file.</p> </div> </li> <li data-scroll-reveal="enter right move 30px over 0.6s after 0.5s"> <img src="assets/images/about-icon-02.png" alt=""> <div class="text"> <h4>Sed blandit quam in velit</h4> <p>You can <a rel="nofollow" href="https://templatemo.com/tm-540-lava-landing-page">download Lava Template</a> from our website. Duis viverra, ipsum et scelerisque placerat, orci magna consequat ligula.</p> </div> </li> <li data-scroll-reveal="enter right move 30px over 0.6s after 0.6s"> <img src="assets/images/about-icon-03.png" alt=""> <div class="text"> <h4>Aenean faucibus venenatis</h4> <p>Phasellus in imperdiet felis, eget vestibulum nulla. Aliquam nec dui nec augue maximus porta. Curabitur tristique lacus.</p> </div> </li> </ul> </div> </div> </div> </section> <!-- ***** Features Big Item End ***** --> <div class="right-image-decor"></div> <!-- ***** Testimonials Starts ***** --> <section class="section" id="testimonials"> <div class="container"> <div class="row"> <div class="col-lg-8 offset-lg-2"> <div class="center-heading"> <h2>What They Think <em>About Us</em></h2> <p>Suspendisse vitae laoreet mauris. Fusce a nisi dapibus, euismod purus non, convallis odio. Donec vitae magna ornare, pellentesque ex vitae, aliquet urna.</p> </div> </div> <div class="col-lg-10 col-md-12 col-sm-12 mobile-bottom-fix-big" data-scroll-reveal="enter left move 30px over 0.6s after 0.4s"> <div class="owl-carousel owl-theme"> <div class="item service-item"> <div class="author"> <i><img src="assets/images/testimonial-author-1.png" alt="Author One"></i> </div> <div class="testimonial-content"> <ul class="stars"> <li><i class="fa fa-star"></i></li> <li><i class="fa fa-star"></i></li> <li><i class="fa fa-star"></i></li> <li><i class="fa fa-star"></i></li> <li><i class="fa fa-star"></i></li> </ul> <h4>Jonathan Smart</h4> <p>“Nullam hendrerit, elit a semper pharetra, ipsum nibh tristique tortor, in tempus urna elit in mauris.”</p> <span>Besta CTO</span> </div> </div> <div class="item service-item"> <div class="author"> <i><img src="assets/images/testimonial-author-1.png" alt="Second Author"></i> </div> <div class="testimonial-content"> <ul class="stars"> <li><i class="fa fa-star"></i></li> <li><i class="fa fa-star"></i></li> <li><i class="fa fa-star"></i></li> <li><i class="fa fa-star"></i></li> <li><i class="fa fa-star"></i></li> </ul> <h4>Martino Tino</h4> <p>“Morbi non mi luctus felis molestie scelerisque. In ac libero viverra, placerat est interdum, rhoncus leo.”</p> <span>Web Analyst</span> </div> </div> <div class="item service-item"> <div class="author"> <i><img src="assets/images/testimonial-author-1.png" alt="Author Third"></i> </div> <div class="testimonial-content"> <ul class="stars"> <li><i class="fa fa-star"></i></li> <li><i class="fa fa-star"></i></li> <li><i class="fa fa-star"></i></li> </ul> <h4>George Tasa</h4> <p>“Fusce rutrum in dolor sit amet lobortis. Ut at vehicula justo. Donec quam dolor, congue a fringilla sed, maximus et urna.”</p> <span>System Admin</span> </div> </div> <div class="item service-item"> <div class="author"> <i><img src="assets/images/testimonial-author-1.png" alt="Fourth Author"></i> </div> <div class="testimonial-content"> <ul class="stars"> <li><i class="fa fa-star"></i></li> <li><i class="fa fa-star"></i></li> <li><i class="fa fa-star"></i></li> <li><i class="fa fa-star"></i></li> </ul> <h4>Sir James</h4> <p>"Fusce rutrum in dolor sit amet lobortis. Ut at vehicula justo. Donec quam dolor, congue a fringilla sed, maximus et urna."</p> <span>New Villager</span> </div> </div> </div> </div> </div> </div> </section> <!-- ***** Testimonials Ends ***** --> <!-- ***** Footer Start ***** --> <footer id="contact-us"> <div class="container"> <div class="footer-content"> <div class="row"> <!-- ***** Contact Form Start ***** --> <div class="col-lg-6 col-md-12 col-sm-12"> <div class="contact-form"> <form id="contact" action="" method="post"> <div class="row"> <div class="col-md-6 col-sm-12"> <fieldset> <input name="name" type="text" id="name" placeholder="Full Name" required="" style="background-color: rgba(250,250,250,0.3);"> </fieldset> </div> <div class="col-md-6 col-sm-12"> <fieldset> <input name="email" type="text" id="email" placeholder="E-Mail Address" required="" style="background-color: rgba(250,250,250,0.3);"> </fieldset> </div> <div class="col-lg-12"> <fieldset> <textarea name="message" rows="6" id="message" placeholder="Your Message" required="" style="background-color: rgba(250,250,250,0.3);"></textarea> </fieldset> </div> <div class="col-lg-12"> <fieldset> <button type="submit" id="form-submit" class="main-button">Send Message Now</button> </fieldset> </div> </div> </form> </div> </div> <!-- ***** Contact Form End ***** --> <div class="right-content col-lg-6 col-md-12 col-sm-12"> <h2>More About <em>FantacyApp</em></h2> <p>Phasellus dapibus urna vel lacus accumsan, iaculis eleifend leo auctor. Duis at finibus odio. Vivamus ut pharetra arcu, in porta metus. Suspendisse blandit pulvinar ligula ut elementum. <br><br>If you need this contact form to send email to your inbox, you may follow our <a rel="nofollow" href="https://templatemo.com/contact" target="_parent">contact</a> page for more detail.</p> <ul class="social"> <li><a href="https://fb.com/templatemo"><i class="fa fa-facebook"></i></a></li> <li><a href="#"><i class="fa fa-twitter"></i></a></li> <li><a href="#"><i class="fa fa-linkedin"></i></a></li> <li><a href="#"><i class="fa fa-rss"></i></a></li> <li><a href="#"><i class="fa fa-dribbble"></i></a></li> </ul> </div> </div> </div> <div class="row"> <div class="col-lg-12"> <div class="sub-footer"> <p>Copyright © 2022 FantacyApp Landing Page | Designed by <a rel="nofollow" href="https://fantacydesigns.com/">FantacyDesigns</a></p> </div> </div> </div> </div> </footer> </body> </html> |
Source code of CSS:
CSS is also known as a markup language and we use this language to make our landing pages or website a responsive website across all the devices. We also use it to design a site page are landing pages. The CSS code is given below and you can use this code for free. And for use this code you have to link this code with the file of Html and then it will help you to design your page.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 854 855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 871 872 873 874 875 876 877 878 879 880 881 882 883 884 885 886 887 888 889 890 891 892 893 894 895 896 897 898 899 900 901 902 903 904 905 906 907 908 909 910 911 912 913 914 915 916 917 918 919 920 921 922 923 924 925 926 927 928 929 930 931 932 933 934 935 936 937 938 939 940 941 942 943 944 945 946 947 948 949 950 951 952 953 954 955 956 957 958 959 960 961 962 963 964 965 966 967 968 969 970 971 972 973 974 975 976 977 978 979 980 981 982 983 984 985 986 987 988 989 990 991 992 993 994 995 996 997 998 999 1000 1001 1002 1003 1004 1005 1006 1007 1008 1009 1010 1011 1012 1013 1014 1015 1016 1017 1018 1019 1020 1021 1022 1023 1024 1025 1026 1027 1028 1029 1030 1031 1032 1033 1034 1035 1036 1037 1038 1039 1040 1041 1042 1043 1044 1045 1046 1047 1048 1049 1050 1051 1052 1053 1054 1055 1056 1057 1058 1059 1060 1061 1062 1063 1064 1065 1066 1067 1068 1069 1070 1071 1072 1073 1074 1075 1076 1077 1078 1079 1080 1081 1082 1083 1084 1085 1086 1087 1088 1089 1090 1091 1092 1093 1094 1095 1096 1097 1098 1099 1100 1101 1102 1103 1104 1105 1106 1107 1108 1109 1110 1111 1112 1113 1114 1115 1116 1117 1118 1119 1120 1121 1122 1123 1124 1125 1126 1127 1128 1129 1130 1131 1132 1133 1134 1135 1136 1137 1138 1139 1140 1141 1142 1143 1144 1145 1146 1147 1148 1149 1150 1151 1152 1153 1154 1155 1156 1157 1158 1159 1160 1161 1162 1163 1164 1165 1166 1167 1168 1169 1170 1171 1172 1173 1174 1175 1176 1177 1178 1179 1180 1181 1182 1183 1184 1185 1186 1187 1188 1189 1190 1191 1192 1193 1194 1195 1196 1197 1198 1199 1200 1201 1202 1203 1204 1205 1206 1207 1208 1209 1210 1211 1212 1213 1214 1215 1216 1217 1218 1219 1220 1221 1222 1223 1224 1225 1226 1227 1228 1229 1230 1231 1232 1233 1234 1235 1236 |
/* FantacyDesigns Landing Page https://fantacydesigns.com/ */ /* --------------------------------------------- Table of contents ------------------------------------------------ 01. font & reset css 02. reset 03. global styles 04. header 05. welcome 06. features 07. testimonials 08. contact 09. footer 10. preloader --------------------------------------------- */ /* --------------------------------------------- font & reset css --------------------------------------------- */ @import url("https://fonts.googleapis.com/css?family=Poppins:100,200,300,400,500,600,700,800,900"); /* --------------------------------------------- reset --------------------------------------------- */ html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, div pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, font, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, figure, header, nav, section, article, aside, footer, figcaption { margin: 0; padding: 0; border: 0; outline: 0; } .clearfix:after { content: "."; display: block; clear: both; visibility: hidden; line-height: 0; height: 0; } .clearfix { display: inline-block; } html[xmlns] .clearfix { display: block; } * html .clearfix { height: 1%; } ul, li { padding: 0; margin: 0; list-style: none; } header, nav, section, article, aside, footer, hgroup { display: block; } * { box-sizing: border-box; } html, body { font-family: 'Poppins', sans-serif; font-weight: 400; background-color: #fff; font-size: 16px; -ms-text-size-adjust: 100%; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; } a { text-decoration: none !important; } h1, h2, h3, h4, h5, h6 { margin-top: 0px; margin-bottom: 0px; } ul { margin-bottom: 0px; } p { font-size: 15px; line-height: 25px; color: #888; } /* --------------------------------------------- global styles --------------------------------------------- */ html, body { background: #fff; font-family: 'Poppins', sans-serif; } ::selection { background: #f1556a; color: #fff; } ::-moz-selection { background: #f1556a; color: #fff; } @media (max-width: 991px) { html, body { overflow-x: hidden; } .mobile-top-fix { margin-top: 30px; margin-bottom: 0px; } .mobile-bottom-fix { margin-bottom: 30px; } .mobile-bottom-fix-big { margin-bottom: 60px; } } a.main-button-slider { font-size: 14px; border-radius: 25px; padding: 15px 25px; background-color: #fba70b; text-transform: uppercase; color: #fff; font-weight: 600; letter-spacing: 1px; -webkit-transition: all 0.3s ease 0s; -moz-transition: all 0.3s ease 0s; -o-transition: all 0.3s ease 0s; transition: all 0.3s ease 0s; } a.main-button-slider:hover { background-color: #f1556a; } a.main-button { font-size: 14px; border-radius: 25px; padding: 15px 25px; background-color: #f4813f; text-transform: uppercase; color: #fff; font-weight: 600; letter-spacing: 1px; -webkit-transition: all 0.3s ease 0s; -moz-transition: all 0.3s ease 0s; -o-transition: all 0.3s ease 0s; transition: all 0.3s ease 0s; } a.main-button:hover { background-color: #f1556a; } button.main-button { outline: none; border: none; cursor: pointer; font-size: 14px; border-radius: 25px; padding: 15px 25px; background-color: #f4813f; text-transform: uppercase; color: #fff; font-weight: 600; letter-spacing: 1px; -webkit-transition: all 0.3s ease 0s; -moz-transition: all 0.3s ease 0s; -o-transition: all 0.3s ease 0s; transition: all 0.3s ease 0s; } button.main-button:hover { background-color: #f1556a; } .center-heading { margin-bottom: 70px; } .center-heading h2 { margin-top: 0px; text-align: center; font-size: 42px; font-weight: 700; color: #1e1e1e; margin-bottom: 25px; } .center-heading h2 em { font-style: normal; color: #f4813f; } .center-heading p { font-size: 15px; color: #888; text-align: center; } /* --------------------------------------------- header --------------------------------------------- */ .background-header { background-color: #fff; height: 80px!important; position: fixed!important; top: 0px; left: 0px; right: 0px; box-shadow: 0px 0px 10px rgba(0,0,0,0.15)!important; } .background-header .logo, .background-header .main-nav .nav li a { color: #1e1e1e!important; } .background-header .main-nav .nav li:hover a { color: #fba70b!important; } .background-header .nav li a.active { color: #fba70b!important; } .header-area { position: absolute; top: 0px; left: 0px; right: 0px; z-index: 100; height: 100px; -webkit-transition: all .5s ease 0s; -moz-transition: all .5s ease 0s; -o-transition: all .5s ease 0s; transition: all .5s ease 0s; } .header-area .main-nav { min-height: 80px; background: transparent; } .header-area .main-nav .logo { line-height: 80px; color: #191a20; font-size: 28px; font-weight: 700; text-transform: uppercase; letter-spacing: 2px; float: left; -webkit-transition: all 0.3s ease 0s; -moz-transition: all 0.3s ease 0s; -o-transition: all 0.3s ease 0s; transition: all 0.3s ease 0s; } .header-area .main-nav .nav { float: left; margin-top: 27px; margin-left: 15%; margin-right: 0px; background-color: #fff; padding: 0px 20px; -webkit-transition: all 0.3s ease 0s; -moz-transition: all 0.3s ease 0s; -o-transition: all 0.3s ease 0s; transition: all 0.3s ease 0s; position: relative; z-index: 999; } .header-area .main-nav .nav li { padding-left: 20px; padding-right: 20px; } .header-area .main-nav .nav li:last-child { padding-right: 0px; } .header-area .main-nav .nav li a { display: block; font-weight: 500; font-size: 13px; color: #7a7a7a; text-transform: uppercase; -webkit-transition: all 0.3s ease 0s; -moz-transition: all 0.3s ease 0s; -o-transition: all 0.3s ease 0s; transition: all 0.3s ease 0s; height: 40px; line-height: 40px; border: transparent; letter-spacing: 1px; } .header-area .main-nav .nav li:hover a { color: #fba70b; } .header-area .main-nav .nav li.submenu { position: relative; padding-right: 35px; } .header-area .main-nav .nav li.submenu:after { font-family: FontAwesome; content: "\f107"; font-size: 12px; color: #7a7a7a; position: absolute; right: 18px; top: 12px; } .header-area .main-nav .nav li.submenu ul { position: absolute; width: 200px; box-shadow: 0 2px 28px 0 rgba(0, 0, 0, 0.06); overflow: hidden; top: 40px; opacity: 0; transform: translateY(-2em); visibility: hidden; z-index: -1; transition: all 0.3s ease-in-out 0s, visibility 0s linear 0.3s, z-index 0s linear 0.01s; } .header-area .main-nav .nav li.submenu ul li { margin-left: 0px; padding-left: 0px; padding-right: 0px; } .header-area .main-nav .nav li.submenu ul li a { display: block; background: #fff; color: #7a7a7a!important; padding-left: 20px; height: 40px; line-height: 40px; -webkit-transition: all 0.3s ease 0s; -moz-transition: all 0.3s ease 0s; -o-transition: all 0.3s ease 0s; transition: all 0.3s ease 0s; position: relative; font-size: 13px; border-bottom: 1px solid #f5f5f5; } .header-area .main-nav .nav li.submenu ul li a:before { content: ''; position: absolute; width: 0px; height: 40px; left: 0px; top: 0px; bottom: 0px; -webkit-transition: all 0.3s ease 0s; -moz-transition: all 0.3s ease 0s; -o-transition: all 0.3s ease 0s; transition: all 0.3s ease 0s; background: #fba70b; } .header-area .main-nav .nav li.submenu ul li a:hover { background: #fff; color: #fba70b!important; padding-left: 25px; } .header-area .main-nav .nav li.submenu ul li a:hover:before { width: 3px; } .header-area .main-nav .nav li.submenu:hover ul { visibility: visible; opacity: 1; z-index: 1; transform: translateY(0%); transition-delay: 0s, 0s, 0.3s; } .header-area .main-nav .menu-trigger { cursor: pointer; display: block; position: absolute; top: 23px; width: 32px; height: 40px; text-indent: -9999em; z-index: 99; right: 40px; display: none; } .header-area .main-nav .menu-trigger span, .header-area .main-nav .menu-trigger span:before, .header-area .main-nav .menu-trigger span:after { -moz-transition: all 0.4s; -o-transition: all 0.4s; -webkit-transition: all 0.4s; transition: all 0.4s; background-color: #1e1e1e; display: block; position: absolute; width: 30px; height: 2px; left: 0; } .background-header .main-nav .menu-trigger span, .background-header .main-nav .menu-trigger span:before, .background-header .main-nav .menu-trigger span:after { background-color: #1e1e1e; } .header-area .main-nav .menu-trigger span:before, .header-area .main-nav .menu-trigger span:after { -moz-transition: all 0.4s; -o-transition: all 0.4s; -webkit-transition: all 0.4s; transition: all 0.4s; background-color: #1e1e1e; display: block; position: absolute; width: 30px; height: 2px; left: 0; width: 75%; } .background-header .main-nav .menu-trigger span:before, .background-header .main-nav .menu-trigger span:after { background-color: #1e1e1e; } .header-area .main-nav .menu-trigger span:before, .header-area .main-nav .menu-trigger span:after { content: ""; } .header-area .main-nav .menu-trigger span { top: 16px; } .header-area .main-nav .menu-trigger span:before { -moz-transform-origin: 33% 100%; -ms-transform-origin: 33% 100%; -webkit-transform-origin: 33% 100%; transform-origin: 33% 100%; top: -10px; z-index: 10; } .header-area .main-nav .menu-trigger span:after { -moz-transform-origin: 33% 0; -ms-transform-origin: 33% 0; -webkit-transform-origin: 33% 0; transform-origin: 33% 0; top: 10px; } .header-area .main-nav .menu-trigger.active span, .header-area .main-nav .menu-trigger.active span:before, .header-area .main-nav .menu-trigger.active span:after { background-color: transparent; width: 100%; } .header-area .main-nav .menu-trigger.active span:before { -moz-transform: translateY(6px) translateX(1px) rotate(45deg); -ms-transform: translateY(6px) translateX(1px) rotate(45deg); -webkit-transform: translateY(6px) translateX(1px) rotate(45deg); transform: translateY(6px) translateX(1px) rotate(45deg); background-color: #1e1e1e; } .background-header .main-nav .menu-trigger.active span:before { background-color: #1e1e1e; } .header-area .main-nav .menu-trigger.active span:after { -moz-transform: translateY(-6px) translateX(1px) rotate(-45deg); -ms-transform: translateY(-6px) translateX(1px) rotate(-45deg); -webkit-transform: translateY(-6px) translateX(1px) rotate(-45deg); transform: translateY(-6px) translateX(1px) rotate(-45deg); background-color: #1e1e1e; } .background-header .main-nav .menu-trigger.active span:after { background-color: #1e1e1e; } .header-area.header-sticky { min-height: 80px; } .header-area.header-sticky .nav { margin-top: 20px !important; } .header-area.header-sticky .nav li a.active { color: #fba70b; } @media (max-width: 1200px) { .header-area .main-nav .nav li { padding-left: 12px; padding-right: 12px; } .header-area .main-nav:before { display: none; } } @media (max-width: 991px) { .logo { text-align: center; float: none!important; } .header-area { background-color: #f7f7f7; padding: 0px 15px; height: 80px; box-shadow: none; text-align: center; } .header-area .container { padding: 0px; } .header-area .logo { margin-left: 30px; } .header-area .menu-trigger { display: block !important; } .header-area .main-nav { overflow: hidden; } .header-area .main-nav .nav { float: none; width: 100%; margin-top: 0px !important; display: none; -webkit-transition: all 0s ease 0s; -moz-transition: all 0s ease 0s; -o-transition: all 0s ease 0s; transition: all 0s ease 0s; margin-left: 0px; } .header-area .main-nav .nav li:first-child { border-top: 1px solid #eee; } .header-area .main-nav .nav li { width: 100%; background: #fff; border-bottom: 1px solid #eee; padding-left: 0px !important; padding-right: 0px !important; } .header-area .main-nav .nav li a { height: 50px !important; line-height: 50px !important; padding: 0px !important; border: none !important; background: #f7f7f7 !important; color: #191a20 !important; } .header-area .main-nav .nav li a:hover { background: #eee !important; color: #fba70b!important; } .header-area .main-nav .nav li.submenu ul { position: relative; visibility: inherit; opacity: 1; z-index: 1; transform: translateY(0%); transition-delay: 0s, 0s, 0.3s; top: 0px; width: 100%; box-shadow: none; height: 0px; } .header-area .main-nav .nav li.submenu ul li a { font-size: 12px; font-weight: 400; } .header-area .main-nav .nav li.submenu ul li a:hover:before { width: 0px; } .header-area .main-nav .nav li.submenu ul.active { height: auto !important; } .header-area .main-nav .nav li.submenu:after { color: #3B566E; right: 25px; font-size: 14px; top: 15px; } .header-area .main-nav .nav li.submenu:hover ul, .header-area .main-nav .nav li.submenu:focus ul { height: 0px; } } @media (min-width: 992px) { .header-area .main-nav .nav { display: flex !important; } } /* --------------------------------------------- welcome --------------------------------------------- */ .welcome-area { width: 100%; height: 100vh; min-height: 793px; background-image: url(../images/banner-bg.png); background-repeat: no-repeat; background-position: right top; } .welcome-area .header-text .left-text { position: relative; align-self: center; margin-top: 35%; transform: perspective(1px) translateY(-30%) !important; } .welcome-area .header-text h1 { font-weight: 900; font-size: 52px; line-height: 80px; letter-spacing: 1px; margin-bottom: 30px; color: #191a20; } .welcome-area .header-text h1 em { font-style: normal; color: #fba70b; } .welcome-area .header-text p { font-weight: 300; font-size: 17px; color: #7a7a7a; line-height: 30px; letter-spacing: 0.25px; margin-bottom: 40px; position: relative; } @media (max-width: 1420px) { .welcome-area .header-text { width: 70%; margin-left: 5%; } } @media (max-width: 1320px) { .welcome-area .header-text .left-text { margin-top: 50%; } .welcome-area .header-text { width: 50%; margin-left: 5%; } } @media (max-width: 1140px) { .welcome-area { height: auto; } .welcome-area .header-text { width: 92%; padding-top: 793px; } .welcome-area .header-text .left-text { margin-top: 5%; transform: none !important; } } @media (max-width: 810px) { .welcome-area { background-size: contain; } .welcome-area .header-text { padding-top: 100%; margin-left: 0; } .container-fluid .col-md-12 { margin-right: 0px; padding-right: 0px; } } /* --------------------------------------------- about --------------------------------------------- */ #about { padding: 100px 0px; position: relative; z-index: 9; } @media (max-width: 992px) { .features-item { margin-bottom: 45px; } } .features-item { border-radius: 5px; padding: 60px 30px; text-align: center; box-shadow: 0px 0px 10px rgba(0,0,0,0.1); } .features-item h2 { z-index: 9; position: absolute; top: 15px; left: 45px; font-size: 100px; font-weight: 600; color: #fdefe9; } .features-item img { z-index: 10; position: relative; max-width: 100%; margin-bottom: 40px; } .features-item h4 { margin-top: 0px; font-size: 22px; color: #1e1e1e; margin-bottom: 25px; } .features-item .main-button { margin-top: 35px; display: inline-block; } /* --------------------------------------------- promotion --------------------------------------------- */ .left-image-decor { background-image: url(../images/left-bg-decor.png); background-repeat: no-repeat; position: absolute; width: 100%; display: inline-block; height: 110%; margin-top: -200px; } #promotion { padding: 100px 0px; } #promotion .left-image { align-self: center; } #promotion .right-text ul { padding: 0; margin: 0; } #promotion .right-text ul li { display: inline-block; margin-bottom: 60px; } #promotion .right-text ul li:last-child { margin-bottom: 0px; } #promotion .right-text img { display: inline-block; float: left; margin-right: 30px; } #promotion .right-text h4 { font-size: 22px; color: #1e1e1e; margin-bottom: 15px; margin-top: 3px; } /* -------------------------------------------- testimonials -------------------------------------------- */ .right-image-decor { background-image: url(../images/right-bg-decor.png); background-repeat: no-repeat; background-position: right center; position: absolute; width: 100%; display: inline-block; height: 110%; margin-top: -200px; } #testimonials { padding-top: 100px; position: relative; z-index: 9; } #testimonials .item { position: relative; } #testimonials .item .testimonial-content { background: rgb(244,129,63); background: linear-gradient(145deg, rgba(244,129,63,1) 0%, rgba(241,85,106,1) 100%); margin-left: 60px; padding: 40px 30px; text-align: center; border-radius: 5px; } #testimonials .item .testimonial-content ul li { display: inline-block; margin: 0px 1px; } #testimonials .item .testimonial-content ul li i { color: #fff; font-size: 13px; } #testimonials .item .testimonial-content h4 { font-size: 22px; margin-top: 20px; color: #fff; } #testimonials .item .testimonial-content p { color: #fff; font-style: italic; font-weight: 200; margin: 20px 0px 15px 0px; } #testimonials .item .testimonial-content span { color: #fff; font-weight: 200; font-size: 13px; } #testimonials .author img { max-width: 120px; margin-bottom: -60px; } .owl-carousel .owl-nav button.owl-next span { z-index: 10; top: 45%; border-radius: 10px; font-size: 46px; color: #fff; right: -210px; width: 80px; height: 80px; line-height: 80px; text-align: center; display: inline-block; background: rgb(244,129,63); background: linear-gradient(145deg, rgba(244,129,63,1) 0%, rgba(241,85,106,1) 100%); position: absolute; } .owl-carousel .owl-nav button.owl-prev span { z-index: 9; top: 30%; border-radius: 10px; font-size: 46px; color: #fff; right: -150px; width: 80px; height: 80px; line-height: 80px; text-align: center; display: inline-block; background: rgb(244,129,63); background: linear-gradient(145deg, rgba(244,129,63,1) 0%, rgba(241,85,106,1) 100%); position: absolute; } @media screen and (max-width: 1060px) { .owl-carousel .owl-nav { display: none!important; } } /* --------------------------------------------- footer --------------------------------------------- */ @media (max-width: 992px) { footer { padding-top: 0px!important; margin-top: 0px!important; } .contact-form { margin-bottom: 45px; } footer .right-content { text-align: center; } footer .footer-content { padding: 60px 0px!important; } } footer { margin-top: 200px; padding-top: 120px; background-image: url(../images/footer-bg.png); background-repeat: no-repeat; background-position: center center; background-size: cover; width: 100%; } footer .footer-content { padding: 120px 0px; } .contact-form { position: relative; z-index: 10; padding: 45px; border-radius: 5px; background-color: #fff; box-shadow: 0px 0px 10px rgba(0,0,0,0.1); } footer .right-content { align-self: center; } .contact-form input, .contact-form textarea { color: #777; font-size: 13px; border: 1px solid #eee; background-color: #f7f7f7; border-radius: 5px; width: 100%; height: 50px; outline: none; padding-left: 20px; padding-right: 20px; -webkit-appearance: none; -moz-appearance: none; appearance: none; margin-bottom: 30px; } .contact-form textarea { height: 150px; resize: none; padding: 20px; } .contact-form { text-align: center; } .contact-form ::-webkit-input-placeholder { /* Edge */ color: #7a7a7a; } .contact-form :-ms-input-placeholder { /* Internet Explorer 10-11 */ color: #7a7a7a; } .contact-form ::placeholder { color: #7a7a7a; } .footer-content .right-content { color: #fff; } .footer-content .right-content h2 { margin-top: 0px; margin-bottom: 30px; font-size: 42px; text-transform: capitalize; font-weight: 700; letter-spacing: 1px; } .footer-content .right-content h2 em { font-style: normal; color: #fba70b; } .footer-content .right-content p { color: #FFF; } .footer-content .right-content a { color: #FFF; } .footer-content .right-content a:hover { color: #FC3; } footer .social { overflow: hidden; margin-top: 30px; } footer .social li:first-child { margin-left: 0px; } footer .social li { margin: 0px 7.5px; display: inline-block; } footer .social li a { color: #fff; text-align: center; background-color: transparent; border: 1px solid #fff; width: 44px; height: 44px; line-height: 44px; border-radius: 50%; display: inline-block; font-size: 16px; -webkit-transition: all 0.3s ease 0s; -moz-transition: all 0.3s ease 0s; -o-transition: all 0.3s ease 0s; transition: all 0.3s ease 0s; } footer .social li a:hover { background-color: #fba70b; border-color: #fba70b; color: #fff; } footer .copyright { margin-top: 10px; font-weight: 400; font-size: 15px; color: #4a4a4a; letter-spacing: 0.88px; text-transform: capitalize; } footer .sub-footer { padding: 60px 0px; border-top: 1px solid rgba(250,250,250,0.3); text-align: center; } footer .sub-footer a { color: #FFF; } footer .sub-footer a:hover { color: #FC3; } footer .sub-footer p { color: #fff; font-size: 15px; font-weight: 300; letter-spacing: 0.5px; } @media (max-width: 991px) { footer .copyright { text-align: center; } footer .social { text-align: center; } } /* --------------------------------------------- preloader --------------------------------------------- */ #preloader { overflow: hidden; background-image: linear-gradient(145deg, #f4813f 0%, #f1556a 100%); left: 0; right: 0; top: 0; bottom: 0; position: fixed; z-index: 9999; color: #fff; } #preloader .jumper { left: 0; top: 0; right: 0; bottom: 0; display: block; position: absolute; margin: auto; width: 50px; height: 50px; } #preloader .jumper > div { background-color: #fff; width: 10px; height: 10px; border-radius: 100%; -webkit-animation-fill-mode: both; animation-fill-mode: both; position: absolute; opacity: 0; width: 50px; height: 50px; -webkit-animation: jumper 1s 0s linear infinite; animation: jumper 1s 0s linear infinite; } #preloader .jumper > div:nth-child(2) { -webkit-animation-delay: 0.33333s; animation-delay: 0.33333s; } #preloader .jumper > div:nth-child(3) { -webkit-animation-delay: 0.66666s; animation-delay: 0.66666s; } @-webkit-keyframes jumper { 0% { opacity: 0; -webkit-transform: scale(0); transform: scale(0); } 5% { opacity: 1; } 100% { -webkit-transform: scale(1); transform: scale(1); opacity: 0; } } @keyframes jumper { 0% { opacity: 0; -webkit-transform: scale(0); transform: scale(0); } 5% { opacity: 1; } 100% { opacity: 0; } } |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 |
/* ==================================================================================================================== * FONT-FACE * ====================================================================================================================*/ @font-face { font-family: 'flexslider-icon'; src: url('../fonts/flexslider-icon.eot'); src: url('../fonts/flexslider-icon.eot?#iefix') format('embedded-opentype'), url('../fonts/flexslider-icon.woff') format('woff'), url('../fonts/flexslider-icon.ttf') format('truetype'), url('../fonts/flexslider-icon.svg#flexslider-icon') format('svg'); font-weight: normal; font-style: normal; } /* ==================================================================================================================== * RESETS * ====================================================================================================================*/ .flex-container a:hover, .flex-slider a:hover { outline: none; } .slides, .slides > li, .flex-control-nav, .flex-direction-nav { margin: 0; padding: 0; list-style: none; } .flex-pauseplay span { text-transform: capitalize; } /* ==================================================================================================================== * BASE STYLES * ====================================================================================================================*/ .flexslider { margin: 0; padding: 0; } .flexslider .slides > li { display: none; -webkit-backface-visibility: hidden; } .flexslider .slides img { width: 100%; display: block; } .flexslider .slides:after { content: "\0020"; display: block; clear: both; visibility: hidden; line-height: 0; height: 0; } html[xmlns] .flexslider .slides { display: block; } * html .flexslider .slides { height: 1%; } .no-js .flexslider .slides > li:first-child { display: block; } /* ==================================================================================================================== * DEFAULT THEME * ====================================================================================================================*/ .flexslider { margin: 0; background: #fff; border: 4px solid #fff; position: relative; zoom: 1; -webkit-border-radius: 4px; -moz-border-radius: 4px; border-radius: 4px; -webkit-box-shadow: '' 0 1px 4px rgba(0, 0, 0, 0.2); -moz-box-shadow: '' 0 1px 4px rgba(0, 0, 0, 0.2); -o-box-shadow: '' 0 1px 4px rgba(0, 0, 0, 0.2); box-shadow: '' 0 1px 4px rgba(0, 0, 0, 0.2); } .flexslider .slides { zoom: 1; } .flexslider .slides img { height: auto; -moz-user-select: none; } .flex-viewport { max-height: 2000px; -webkit-transition: all 1s ease; -moz-transition: all 1s ease; -ms-transition: all 1s ease; -o-transition: all 1s ease; transition: all 1s ease; } .loading .flex-viewport { max-height: 300px; } @-moz-document url-prefix() { .loading .flex-viewport { max-height: none; } } .carousel li { margin-right: 5px; } .flex-direction-nav { *height: 0; } .flex-direction-nav a { text-decoration: none; display: block; width: 40px; height: 40px; line-height: 40px; margin: -20px 0 0; position: absolute; top: 50%; z-index: 10; overflow: hidden; opacity: 0; cursor: pointer; color: rgba(0, 0, 0, 0.8); text-shadow: 1px 1px 0 rgba(255, 255, 255, 0.3); -webkit-transition: all 0.3s ease-in-out; -moz-transition: all 0.3s ease-in-out; -ms-transition: all 0.3s ease-in-out; -o-transition: all 0.3s ease-in-out; transition: all 0.3s ease-in-out; } .flex-direction-nav a:before { font-family: "flexslider-icon"; font-size: 26px; display: inline-block; content: '\f001'; color: rgba(0, 0, 0, 0.8); text-shadow: 1px 1px 0 rgba(255, 255, 255, 0.3); } .flex-direction-nav a.flex-next:before { content: '\f002'; } .flex-direction-nav .flex-prev { left: -50px; } .flex-direction-nav .flex-next { right: -50px; text-align: right; } .flexslider:hover .flex-direction-nav .flex-prev { opacity: 0.7; left: 10px; } .flexslider:hover .flex-direction-nav .flex-prev:hover { opacity: 1; } .flexslider:hover .flex-direction-nav .flex-next { opacity: 0.7; right: 10px; } .flexslider:hover .flex-direction-nav .flex-next:hover { opacity: 1; } .flex-direction-nav .flex-disabled { opacity: 0!important; filter: alpha(opacity=0); cursor: default; z-index: -1; } .flex-pauseplay a { display: block; width: 20px; height: 20px; position: absolute; bottom: 5px; left: 10px; opacity: 0.8; z-index: 10; overflow: hidden; cursor: pointer; color: #000; } .flex-pauseplay a:before { font-family: "flexslider-icon"; font-size: 20px; display: inline-block; content: '\f004'; } .flex-pauseplay a:hover { opacity: 1; } .flex-pauseplay a.flex-play:before { content: '\f003'; } .flex-control-nav { width: 100%; position: absolute; bottom: -40px; text-align: center; } .flex-control-nav li { margin: 0 6px; display: inline-block; zoom: 1; *display: inline; } .flex-control-paging li a { width: 11px; height: 11px; display: block; background: #666; background: rgba(0, 0, 0, 0.5); cursor: pointer; text-indent: -9999px; -webkit-box-shadow: inset 0 0 3px rgba(0, 0, 0, 0.3); -moz-box-shadow: inset 0 0 3px rgba(0, 0, 0, 0.3); -o-box-shadow: inset 0 0 3px rgba(0, 0, 0, 0.3); box-shadow: inset 0 0 3px rgba(0, 0, 0, 0.3); -webkit-border-radius: 20px; -moz-border-radius: 20px; border-radius: 20px; } .flex-control-paging li a:hover { background: #333; background: rgba(0, 0, 0, 0.7); } .flex-control-paging li a.flex-active { background: #000; background: rgba(0, 0, 0, 0.9); cursor: default; } .flex-control-thumbs { margin: 5px 0 0; position: static; overflow: hidden; } .flex-control-thumbs li { width: 25%; float: left; margin: 0; } .flex-control-thumbs img { width: 100%; height: auto; display: block; opacity: .7; cursor: pointer; -moz-user-select: none; -webkit-transition: all 1s ease; -moz-transition: all 1s ease; -ms-transition: all 1s ease; -o-transition: all 1s ease; transition: all 1s ease; } .flex-control-thumbs img:hover { opacity: 1; } .flex-control-thumbs .flex-active { opacity: 1; cursor: default; } /* ==================================================================================================================== * RESPONSIVE * ====================================================================================================================*/ @media screen and (max-width: 860px) { .flex-direction-nav .flex-prev { opacity: 1; left: 10px; } .flex-direction-nav .flex-next { opacity: 1; right: 10px; } } |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 |
span{ color: #fba70b; } .owl-carousel { display: none; width: 100%; -webkit-tap-highlight-color: transparent; /* position relative and z-index fix webkit rendering fonts issue */ position: relative; z-index: 1; } .owl-carousel .owl-stage { position: relative; -ms-touch-action: pan-Y; touch-action: manipulation; -moz-backface-visibility: hidden; /* fix firefox animation glitch */ } .owl-carousel .owl-stage:after { content: "."; display: block; clear: both; visibility: hidden; line-height: 0; height: 0; } .owl-carousel .owl-stage-outer { position: relative; overflow: hidden; /* fix for flashing background */ -webkit-transform: translate3d(0px, 0px, 0px); } .owl-carousel .owl-wrapper, .owl-carousel .owl-item { -webkit-backface-visibility: hidden; -moz-backface-visibility: hidden; -ms-backface-visibility: hidden; -webkit-transform: translate3d(0, 0, 0); -moz-transform: translate3d(0, 0, 0); -ms-transform: translate3d(0, 0, 0); } .owl-carousel .owl-item { position: relative; min-height: 1px; float: left; -webkit-backface-visibility: hidden; -webkit-tap-highlight-color: transparent; -webkit-touch-callout: none; } .owl-carousel .owl-item img { display: block; width: 100%; } .owl-carousel .owl-nav.disabled, .owl-carousel .owl-dots.disabled { display: none; } .owl-carousel .owl-nav .owl-prev, .owl-carousel .owl-nav .owl-next, .owl-carousel .owl-dot { cursor: pointer; -webkit-user-select: none; -khtml-user-select: none; -moz-user-select: none; -ms-user-select: none; user-select: none; } .owl-carousel .owl-nav button.owl-prev, .owl-carousel .owl-nav button.owl-next, .owl-carousel button.owl-dot { background: none; color: inherit; border: none; padding: 0 !important; font: inherit; } .owl-carousel.owl-loaded { display: block; } .owl-carousel.owl-loading { opacity: 0; display: block; } .owl-carousel.owl-hidden { opacity: 0; } .owl-carousel.owl-refresh .owl-item { visibility: hidden; } .owl-carousel.owl-drag .owl-item { -ms-touch-action: pan-y; touch-action: pan-y; -webkit-user-select: none; -moz-user-select: none; -ms-user-select: none; user-select: none; } .owl-carousel.owl-grab { cursor: move; cursor: grab; } .owl-carousel.owl-rtl { direction: rtl; } .owl-carousel.owl-rtl .owl-item { float: right; } /* No Js */ .no-js .owl-carousel { display: block; } /* * Owl Carousel - Animate Plugin */ .owl-carousel .animated { animation-duration: 1000ms; animation-fill-mode: both; } .owl-carousel .owl-animated-in { z-index: 0; } .owl-carousel .owl-animated-out { z-index: 1; } .owl-carousel .fadeOut { animation-name: fadeOut; } @keyframes fadeOut { 0% { opacity: 1; } 100% { opacity: 0; } } /* * Owl Carousel - Auto Height Plugin */ .owl-height { transition: height 500ms ease-in-out; } /* * Owl Carousel - Lazy Load Plugin */ .owl-carousel .owl-item { /** This is introduced due to a bug in IE11 where lazy loading combined with autoheight plugin causes a wrong calculation of the height of the owl-item that breaks page layouts */ } .owl-carousel .owl-item .owl-lazy { opacity: 0; transition: opacity 400ms ease; } .owl-carousel .owl-item .owl-lazy[src^=""], .owl-carousel .owl-item .owl-lazy:not([src]) { max-height: 0; } .owl-carousel .owl-item img.owl-lazy { transform-style: preserve-3d; } /* * Owl Carousel - Video Plugin */ .owl-carousel .owl-video-wrapper { position: relative; height: 100%; background: #000; } .owl-carousel .owl-video-play-icon { position: absolute; height: 80px; width: 80px; left: 50%; top: 50%; margin-left: -40px; margin-top: -40px; background: url("owl.video.play.png") no-repeat; cursor: pointer; z-index: 1; -webkit-backface-visibility: hidden; transition: transform 100ms ease; } .owl-carousel .owl-video-play-icon:hover { -ms-transform: scale(1.3, 1.3); transform: scale(1.3, 1.3); } .owl-carousel .owl-video-playing .owl-video-tn, .owl-carousel .owl-video-playing .owl-video-play-icon { display: none; } .owl-carousel .owl-video-tn { opacity: 0; height: 100%; background-position: center center; background-repeat: no-repeat; background-size: contain; transition: opacity 400ms ease; } .owl-carousel .owl-video-frame { position: relative; z-index: 1; height: 100%; width: 100%; } |
Source code of javascript:
JavaScript is a dynamic language and we use this language to add functionality to our website or web pages. It helps us to create different types of events and when we click on any button then it helps us to move across the different pages on the Internet. The code of JavaScript is given below and you can use this code along with Html and CSS.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 |
(function ($) { "use strict"; $('.owl-carousel').owlCarousel({ loop: true, margin: 30, nav: true, pagination: true, responsive: { 0: { items: 1 }, 600: { items: 1 }, 1000: { items: 2 } } }) $(window).scroll(function () { var scroll = $(window).scrollTop(); var box = $('.header-text').height(); var header = $('header').height(); if (scroll >= box - header) { $("header").addClass("background-header"); } else { |