الگو:کادر اطلاعاتی: تفاوت میان نسخهها
بدون خلاصۀ ویرایش |
بدون خلاصۀ ویرایش |
||
| خط ۱: | خط ۱: | ||
<html> | <html> | ||
<!-- باکس خدمات چاپ متین - نسخه نهایی (بدون | |||
<!-- باکس خدمات چاپ متین - نسخه نهایی با سایه دقیق (بدون سایه در وسط) --> | |||
<div class="matin-info-box"> | <div class="matin-info-box"> | ||
<h2 class="matin-title">چاپ بنر در چاپ متین</h2> | <h2 class="matin-title">چاپ بنر در چاپ متین</h2> | ||
| خط ۱۸: | خط ۱۹: | ||
margin: 40px auto; | margin: 40px auto; | ||
padding: 30px 40px; | padding: 30px 40px; | ||
position: relative; /* برای قرارگیری سایهها */ | |||
/* حذف | /* استایل اصلی باکس */ | ||
border: 1px solid #e5e7eb; | |||
border-top: 3px solid #8b1e1e; /* نوار زرشکی بالا */ | |||
border-radius: 0; /* تیز بودن گوشهها مشابه تصویر */ | |||
/* حذف سایه پیشفرض */ | |||
box-shadow: none !important; | box-shadow: none !important; | ||
} | |||
/* | /* ایجاد سایه اختصاصی (تیرهتر در گوشهها، بدون سایه در وسط) */ | ||
.matin-info-box::before, | |||
.matin-info-box::after { | |||
content: ""; | |||
position: absolute; | |||
bottom: -15px; /* تنظیم فاصله از پایین */ | |||
z-index: -1; | |||
width: 45%; /* پوشش حدود نیمی از عرض هر طرف */ | |||
height: 20px; | |||
background: rgba(0, 0, 0, 0.35); /* تیرگی بیشتر */ | |||
filter: blur(15px); /* پخششدگی نرم */ | |||
} | |||
.matin-info-box::before { | |||
left: 10px; /* سایه چپ */ | |||
} | |||
.matin-info-box::after { | |||
right: 10px; /* سایه راست */ | |||
} | } | ||