تست برای چاپ: تفاوت میان نسخه‌ها

بدون خلاصۀ ویرایش
بدون خلاصۀ ویرایش
خط ۴۱۰: خط ۴۱۰:
.about{
.about{


background:#f52d48;
   
    color: #FFF8C9;


color:white;
      text-align:center;


text-align:center;
      padding:45px 0;


padding:45px 0;
}


}


.my-div {
    position: relative;
    width: 100%;
    min-height: 220px;


    background:
        url("https://dl.faraghaib.ir/m/260023-01/260023-01-13.png")
        center / cover
        no-repeat;
}


.about h2{
/* لایه خاکستری شفاف */
.my-div::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(80, 80, 80, 0.5);
}


font-size:24px;
/* محتوای روی تصویر */
.my-div > * {
    position: relative;
    z-index: 1;
}


margin-bottom:20px;
/* تبلت */
@media (min-width: 768px) {
    .my-div {
        min-height: 300px;
    }
}


/* دسکتاپ */
@media (min-width: 1024px) {
    .my-div {
        min-height: 400px;
    }
}
}


خط ۵۰۵: خط ۵۳۴:


</header>
</header>
<section class="hero">
<div class="hero-content">
</div>
</section>


<section class="services">
<section class="services">
خط ۶۳۷: خط ۶۴۹:




<section class="about">
<section class="my-div about">




خط ۶۹۷: خط ۷۰۹:
</h2>
</h2>


<div class="dots">


<span></span>
<span></span>
<span></span>
<span></span>
</div>


</div>
</div>