Spaces:
Running
Running
for the main section please fix the background image and make it stretch the whole screen
Browse files- index.html +12 -19
index.html
CHANGED
|
@@ -108,19 +108,15 @@
|
|
| 108 |
}
|
| 109 |
.hero-masar .hero-bg {
|
| 110 |
position: absolute;
|
| 111 |
-
|
| 112 |
-
|
| 113 |
-
|
|
|
|
| 114 |
object-fit: cover;
|
| 115 |
opacity: 0.18;
|
| 116 |
z-index: 1;
|
| 117 |
filter: grayscale(0.2) blur(1px);
|
| 118 |
transition: opacity 0.8s;
|
| 119 |
-
min-width: 100%;
|
| 120 |
-
min-height: 100%;
|
| 121 |
-
left: 50%;
|
| 122 |
-
top: 50%;
|
| 123 |
-
transform: translate(-50%, -50%);
|
| 124 |
}
|
| 125 |
.hero-masar .hero-content {
|
| 126 |
position: relative;
|
|
@@ -709,8 +705,8 @@
|
|
| 709 |
<div class="carousel-inner">
|
| 710 |
<!-- Slide 1 -->
|
| 711 |
<div class="carousel-item active">
|
| 712 |
-
<img class="hero-bg" src="https://images.unsplash.com/photo-1502920917128-1aa500764cbd?ixlib=rb-4.0.3&auto=format&fit=crop&w=1950&q=80" alt="Canon Hero Background">
|
| 713 |
-
|
| 714 |
<div class="hero-badge">Official Canon Distributor in Bahrain</div>
|
| 715 |
<h1 class="hero-title">Masar Inc</h1>
|
| 716 |
<div class="hero-subtitle">Empowering Bahrain with Canon's latest imaging, printing, and IT solutions.</div>
|
|
@@ -720,11 +716,10 @@
|
|
| 720 |
</div>
|
| 721 |
</div>
|
| 722 |
</div>
|
| 723 |
-
|
| 724 |
<!-- Slide 2 - Canon Cameras -->
|
| 725 |
<div class="carousel-item">
|
| 726 |
-
<img class="hero-bg" src="http://static.photos/technology/1200x630/2" alt="Canon Cameras">
|
| 727 |
-
|
| 728 |
<div class="hero-badge">Premium Photography</div>
|
| 729 |
<h1 class="hero-title">Canon Cameras</h1>
|
| 730 |
<div class="hero-subtitle">From entry-level to professional DSLRs and mirrorless cameras for every need.</div>
|
|
@@ -734,11 +729,10 @@
|
|
| 734 |
</div>
|
| 735 |
</div>
|
| 736 |
</div>
|
| 737 |
-
|
| 738 |
<!-- Slide 3 - Canon Lenses -->
|
| 739 |
<div class="carousel-item">
|
| 740 |
-
<img class="hero-bg" src="http://static.photos/technology/1200x630/3" alt="Canon Lenses">
|
| 741 |
-
|
| 742 |
<div class="hero-badge">Crystal Clear Optics</div>
|
| 743 |
<h1 class="hero-title">Canon Lenses</h1>
|
| 744 |
<div class="hero-subtitle">Premium EF, EF-S, and RF lenses for stunning photography and videography.</div>
|
|
@@ -748,11 +742,10 @@
|
|
| 748 |
</div>
|
| 749 |
</div>
|
| 750 |
</div>
|
| 751 |
-
|
| 752 |
<!-- Slide 4 - Canon Printers -->
|
| 753 |
<div class="carousel-item">
|
| 754 |
-
<img class="hero-bg" src="http://static.photos/technology/1200x630/4" alt="Canon Printers">
|
| 755 |
-
|
| 756 |
<div class="hero-badge">Professional Printing</div>
|
| 757 |
<h1 class="hero-title">Canon Printers</h1>
|
| 758 |
<div class="hero-subtitle">High-quality office printers, large format, and production printing solutions.</div>
|
|
|
|
| 108 |
}
|
| 109 |
.hero-masar .hero-bg {
|
| 110 |
position: absolute;
|
| 111 |
+
top: 0;
|
| 112 |
+
left: 0;
|
| 113 |
+
width: 100%;
|
| 114 |
+
height: 100%;
|
| 115 |
object-fit: cover;
|
| 116 |
opacity: 0.18;
|
| 117 |
z-index: 1;
|
| 118 |
filter: grayscale(0.2) blur(1px);
|
| 119 |
transition: opacity 0.8s;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 120 |
}
|
| 121 |
.hero-masar .hero-content {
|
| 122 |
position: relative;
|
|
|
|
| 705 |
<div class="carousel-inner">
|
| 706 |
<!-- Slide 1 -->
|
| 707 |
<div class="carousel-item active">
|
| 708 |
+
<img class="hero-bg w-100" src="https://images.unsplash.com/photo-1502920917128-1aa500764cbd?ixlib=rb-4.0.3&auto=format&fit=crop&w=1950&q=80" alt="Canon Hero Background" style="min-width: 100vw; min-height: 100vh; object-fit: cover;">
|
| 709 |
+
<div class="hero-content">
|
| 710 |
<div class="hero-badge">Official Canon Distributor in Bahrain</div>
|
| 711 |
<h1 class="hero-title">Masar Inc</h1>
|
| 712 |
<div class="hero-subtitle">Empowering Bahrain with Canon's latest imaging, printing, and IT solutions.</div>
|
|
|
|
| 716 |
</div>
|
| 717 |
</div>
|
| 718 |
</div>
|
|
|
|
| 719 |
<!-- Slide 2 - Canon Cameras -->
|
| 720 |
<div class="carousel-item">
|
| 721 |
+
<img class="hero-bg w-100" src="http://static.photos/technology/1200x630/2" alt="Canon Cameras" style="min-width: 100vw; min-height: 100vh; object-fit: cover;">
|
| 722 |
+
<div class="hero-content">
|
| 723 |
<div class="hero-badge">Premium Photography</div>
|
| 724 |
<h1 class="hero-title">Canon Cameras</h1>
|
| 725 |
<div class="hero-subtitle">From entry-level to professional DSLRs and mirrorless cameras for every need.</div>
|
|
|
|
| 729 |
</div>
|
| 730 |
</div>
|
| 731 |
</div>
|
|
|
|
| 732 |
<!-- Slide 3 - Canon Lenses -->
|
| 733 |
<div class="carousel-item">
|
| 734 |
+
<img class="hero-bg w-100" src="http://static.photos/technology/1200x630/3" alt="Canon Lenses" style="min-width: 100vw; min-height: 100vh; object-fit: cover;">
|
| 735 |
+
<div class="hero-content">
|
| 736 |
<div class="hero-badge">Crystal Clear Optics</div>
|
| 737 |
<h1 class="hero-title">Canon Lenses</h1>
|
| 738 |
<div class="hero-subtitle">Premium EF, EF-S, and RF lenses for stunning photography and videography.</div>
|
|
|
|
| 742 |
</div>
|
| 743 |
</div>
|
| 744 |
</div>
|
|
|
|
| 745 |
<!-- Slide 4 - Canon Printers -->
|
| 746 |
<div class="carousel-item">
|
| 747 |
+
<img class="hero-bg w-100" src="http://static.photos/technology/1200x630/4" alt="Canon Printers" style="min-width: 100vw; min-height: 100vh; object-fit: cover;">
|
| 748 |
+
<div class="hero-content">
|
| 749 |
<div class="hero-badge">Professional Printing</div>
|
| 750 |
<h1 class="hero-title">Canon Printers</h1>
|
| 751 |
<div class="hero-subtitle">High-quality office printers, large format, and production printing solutions.</div>
|