المعالج عند السكونأقل من نصف نواة عند السكون، ≤ 30 إطارًا في الثانية
الكود
هل من خلل في هذا المكوّن؟ أرسل ملاحظة ›
coupon-iconHTML
index.htmlpageThe markup to copy, between the copy-from-here comments, on a demo page.
style.cssstyleThe styles: copy them into your CSS.
script.jsscriptThe behavior: load it after the markup.
index.html
The markup to copy, between the copy-from-here comments, on a demo page.
جارٍ التحميل…
مناسب لـ
Promo code fields, discount buttons, checkout summaries and deal badges.
كيف يعمل
Hover it and the ticket draws in, then its stub, the tear line and the percent sign. Apply it and the stub tugs up, rips off along the tear line and falls away, leaving a torn edge, while the ticket slides to the middle and the percent sign takes the result color.
طريقة الاستخدام
اربط style.css وscript.js من صفحتك، ثم الصق الترميز من index.html في المكان الذي يجب أن يظهر فيه.