کدورت لینک
تغییر میزان شفافیت آلفای لینکآر جی بی ای ()مقدار رنگ با ابزارها. لطفاً توجه داشته باشید که تغییر در میزان شفافیت یک رنگ میتواند منجر به ایجاد لینکهایی باناکافیکنتراست.
<a class="link-opacity-10" href="#">Link opacity 10</a>
<a class="link-opacity-25" href="#">Link opacity 25</a>
<a class="link-opacity-50" href="#">Link opacity 50</a>
<a class="link-opacity-75" href="#">Link opacity 75</a>
<a class="link-opacity-100" href="#">Link opacity 100</a>
کدورت لینک هاور
استفاده کنید.link-opacity-*-hoverبرای تنظیمکدورت لینک شناوردر بوتاسترپ، شفافتر کردن لینکها هنگام هاور کردن.
<a class="link-opacity-10-hover" href="#">Link hover opacity 10</a>
<a class="link-opacity-25-hover" href="#">Link hover opacity 25</a>
<a class="link-opacity-50-hover" href="#">Link hover opacity 50</a>
<a class="link-opacity-75-hover" href="#">Link hover opacity 75</a>
<a class="link-opacity-100-hover" href="#">Link hover opacity 100</a>
انواع مختلف شناور کردن لینک
درست مثلِ.link-opacity-*-hoverخدمات رفاهی،
.link-offset
و
.link-underline-opacityخدمات رفاهی شامل
:هاور variants by default. Mix and match to create unique link styles.
<a class="text-decoration-underline link-offset-2 link-offset-3-hover link-underline link-underline-opacity-0 link-underline-opacity-75-hover" href="#">
Underline opacity 0
</a>
کدورت زیر خط
میزان شفافیت زیرخط را تغییر دهید. نیاز به اضافه کردن دارد..لینک-زیرخط
برای اولین بار تنظیم کردنآر جی بی ای ()رنگی که برای تغییر میزان شفافیت آلفا استفاده میکنیم.
<a href="#" class="link-offset-2 text-decoration-underline link-underline link-underline-opacity-0">Underline opacity 0</a>
<a href="#" class="link-offset-2 text-decoration-underline link-underline link-underline-opacity-10">Underline opacity 10</a>
<a href="#" class="link-offset-2 text-decoration-underline link-underline link-underline-opacity-25">Underline opacity 25</a>
<a href="#" class="link-offset-2 text-decoration-underline link-underline link-underline-opacity-50">Underline opacity 50</a>
<a href="#" class="link-offset-2 text-decoration-underline link-underline link-underline-opacity-75">Underline opacity 75</a>
<a href="#" class="link-offset-2 text-decoration-underline link-underline link-underline-opacity-100">Underline opacity 100</a>
زیرخط افست
فاصله زیرخط از متن خود را تغییر دهید. افست در
emواحدهایی برای مقیاسبندی خودکار با جریان عنصراندازه فونت.
<a href="#">Default link</a>
<a class="text-decoration-underline link-offset-1" href="#">Offset 1 link</a>
<a class="text-decoration-underline link-offset-1" href="#">Offset 2 link</a>
<a class="text-decoration-underline link-offset-1" href="#">Offset 3 link</a>
رویداد اشارهگر
<p><a href="javascript:void(0)" class="pe-none text-primary fw-medium text-decoration-underline" tabindex="-1">This link</a> can not be clicked.</p>
<p><a href="javascript:void(0)" class="pe-auto text-primary fw-medium text-decoration-underline">This link</a> can be clicked (this is default behavior).</p>
<p class="pe-none mb-0"><a href="javascript:void(0)" tabindex="-1" class="text-primary fw-medium text-decoration-underline">This link</a> can not be clicked because the <code>pointer-events</code> property is inherited from its parent. However, <a href="javascript:void(0)" class="pe-auto">this link</a> has a <code>pe-auto</code> class and can be clicked.</p>
رنگ زیر خط
رنگ زیرخط را مستقل از رنگ متن لینک تغییر دهید.
<a href="#" class="text-decoration-underline link-underline-primary">Primary underline</a>
<a href="#" class="text-decoration-underline link-underline-secondary">Secondary underline</a>
<a href="#" class="text-decoration-underline link-underline-success">Success underline</a>
<a href="#" class="text-decoration-underline link-underline-danger">Danger underline</a>
<a href="#" class="text-decoration-underline link-underline-warning">Warning underline</a>
<a href="#" class="text-decoration-underline link-underline-info">Info underline</a>
<a href="#" class="text-decoration-underline link-underline-light">Light underline</a>
<a href="#" class="text-decoration-underline link-underline-dark">Dark underline</a>
رنگهای پیوند
استفاده از.لینک-*کلاسهایی برای استایلدهی به لینکها با رنگ، از جمله
:هاور
و
:تمرکزبعضی از رنگها روشنتر هستند و برای کنتراست بهتر، روی پسزمینههای تیره بهتر عمل میکنند.
<a href="#" class="link-primary link-offset-2 link-underline-opacity-25 link-underline-opacity-100-hover">Primary link</a>
<a href="#" class="link-secondary link-offset-2 link-underline-opacity-25 link-underline-opacity-100-hover">Secondary link</a>
<a href="#" class="link-success link-offset-2 link-underline-opacity-25 link-underline-opacity-100-hover">Success link</a>
<a href="#" class="link-danger link-offset-2 link-underline-opacity-25 link-underline-opacity-100-hover">Danger link</a>
<a href="#" class="link-warning link-offset-2 link-underline-opacity-25 link-underline-opacity-100-hover">Warning link</a>
<a href="#" class="link-info link-offset-2 link-underline-opacity-25 link-underline-opacity-100-hover">Info link</a>
<a href="#" class="link-light link-offset-2 link-underline-opacity-25 link-underline-opacity-100-hover">Light link</a>
<a href="#" class="link-dark link-offset-2 link-underline-opacity-25 link-underline-opacity-100-hover">Dark link</a>
<a href="#" class="link-body-emphasis link-offset-2 link-underline-opacity-25 link-underline-opacity-75-hover">Emphasis link</a>
ابزارهای لینک
استایلدهی لینکها با ابزارهای جدید بهبود یافته است. اکنون میتوانید با استفاده از این ابزارهای کمکی بهروز شده، میزان شفافیت لینک، میزان شفافیت زیرخط و میزان جابجایی زیرخط را تنظیم کنید.
<a href="#" class="link-primary link-offset-2 text-decoration-underline link-underline-opacity-25-hover">Primary link</a>
<a href="#" class="link-secondary link-offset-2 text-decoration-underline link-underline-opacity-100-hover">Secondary link</a>
<a href="#" class="link-success link-offset-2 text-decoration-underline link-underline-opacity-75-hover">Success link</a>
<a href="#" class="link-danger link-offset-2 text-decoration-underline link-underline-opacity-50-hover">Danger link</a>
<a href="#" class="link-warning link-offset-2 text-decoration-underline link-underline-opacity-100-hover">Warning link</a>
<a href="#" class="link-info link-offset-2 text-decoration-underline link-underline-opacity-100-hover">Info link</a>
<a href="#" class="link-light link-offset-2 text-decoration-underline link-underline-opacity-75-hover">Light link</a>
<a href="#" class="link-dark link-offset-2 text-decoration-underline link-underline-opacity-100-hover">Dark link</a>
<a href="#" class="link-body-emphasis link-offset-2 text-decoration-underline link-underline-opacity-25-hover">Emphasis link</a>
سفارشیسازی قالب
it's time to style according to your choice ..!
طرح بندی
طرحبندی خود را انتخاب کنید