منو اصلی/بخشنده - فراغیب
بدون خلاصۀ ویرایش برچسب: واگردانی دستی |
بدون خلاصۀ ویرایش |
||
| خط ۱۰: | خط ۱۰: | ||
<style> | <style> | ||
/* =========================== | |||
HEADER (Desktop) | |||
=========================== */ | |||
header{ | |||
position:sticky; | |||
top:0; | |||
right:0; | |||
left:0; | |||
width:100%; | |||
margin:0; | |||
padding:0; | |||
z-index:999; | |||
background:#fff; | |||
box-shadow:0 3px 15px rgba(0,0,0,.08); | |||
} | |||
header nav{ | |||
width:100%; | |||
max-width:100%; | |||
margin:0; | |||
padding:0 20px; | |||
box-sizing:border-box; | |||
} | |||
header nav>ul{ | |||
width:100%; | |||
margin:0; | |||
padding:0; | |||
min-height:64px; | |||
} | |||
/* حذف فاصلههای اضافی */ | |||
body{ | |||
margin:0; | |||
padding:0; | |||
} | |||
/* =========================== | |||
Dropdown | |||
=========================== */ | |||
.dropdown-menu{ | |||
display:none; | |||
position:absolute; | |||
top:100%; | |||
right:0; | |||
min-width:220px; | |||
background:#fff; | |||
border-radius:10px; | |||
border-top:3px solid #db2777; | |||
box-shadow:0 12px 25px rgba(0,0,0,.12); | |||
z-index:9999; | |||
} | |||
.group:hover>.dropdown-menu{ | |||
display:block; | |||
} | |||
/* =========================== | |||
Mobile | |||
=========================== */ | |||
@media (max-width:768px){ | |||
header{ | |||
display:none; | |||
} | |||
} | |||
/* =========================== | |||
Tablet | |||
=========================== */ | |||
@media (min-width:769px){ | |||
header{ | |||
display:block; | |||
} | |||
} | |||
</style> | </style> | ||
</head> | </head> | ||
نسخهٔ ۱۱ اوت ۲۰۲۶، ساعت ۰۷:۴۳
- اهدای مثبت بخشنده