A portrait photo card split by a divider with a round grip: drag it, tap a spot or use the arrow keys to compare the flat before with the graded after.
React + HTML
חינם
עוד למטה ↓
מובנה
מה מקבלים
בהיר וכההמשתמש בצבעי ערכת העיצוב שלכם
חבילות…
גודל הקוד…
חסכוני בסוללה30 fps, במנוחה כשהכול דומם
נעצר כשהוא מוסתרמחוץ למסך או בלשונית אחרת
הפחתת תנועהרגוע למי שמבקש
נבדק בכל שינוי
בדיקת טיפוסיםTypeScript strict
Lint ועיצוב קודESLint · Prettier
בדיקות ובנייהצילומי מסך בהיר וכהה
בדיקת אבטחהללא התראות חמורות או קריטיות
גיל החבילותכל גרסה פומבית 7 ימים לפחות
מעבד במנוחהפחות מחצי ליבה במנוחה, ≤ 30 fps
קוד
יש בעיה ברכיב הזה? שליחת משוב ›
before-after-cardHTML
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.
טוען…
מתאים ל
Photo edits, presets, retouching, renovations and any change you want people to compare side by side.
איך זה עובד
Drag the grip, tap the photo or use the arrow keys to move the divider; on view it sweeps once to show it can.
איך משתמשים
קשרו את style.css ו-script.js מהעמוד שלכם, ואז הדביקו את הקוד מ-index.html במקום שבו הוא צריך להופיע.