ef-surface
Mirrors another element — useful for reflections and compositing.
Mirrors another element — useful for reflections and compositing.
| Attribute | Type | Default | Description |
|---|---|---|---|
target | string | — | ID of the element to reference. |
<ef-timegroup mode="fixed" duration="8s" class="w-[1920px] h-[1080px] bg-black flex flex-col items-center justify-center gap-4">
<ef-video id="main" src="https://assets.editframe.com/bars-n-tone.mp4" class="w-[1280px] h-[720px]" style="object-fit:cover;"></ef-video>
<ef-surface target="main" class="w-[1280px] h-[180px]" style="opacity:0.25;transform:scaleY(-1);"></ef-surface>
</ef-timegroup>