Skip to content

CSS: transition ​

.instui-transition.-transition-fade-entering — Ranna staid beochana don chomhpháirt Transition — .instui-transition agus ranna staid (-transition-fade-entering, -transition-scale-exited, srl.) — inúsáidte ina n-aonar nó nasctha ar aon chomhpháirt.

Source: transition.css

Úsáid ​

css
@import "@pantoken/components/utilities.css";

Samplaí ​

html
<div class="instui-transition -transition-fade-entering">Ábhar beochana</div>

Modhnóirí ​

ModhnóirCur síos
.-transition-*Cineál aistrithe/rang staid a athraítear le linn rith an chláir (fade|scale|slide-* + entering|entered|exiting|exited).
.-transition-fade-entered—
.-transition-fade-entering—
.-transition-fade-exited—
.-transition-fade-exiting—
.-transition-scale-entered—
.-transition-scale-entering—
.-transition-scale-exited—
.-transition-scale-exiting—
.-transition-slide-down-entered—
.-transition-slide-down-entering—
.-transition-slide-down-exited—
.-transition-slide-down-exiting—
.-transition-slide-left-entered—
.-transition-slide-left-entering—
.-transition-slide-left-exited—
.-transition-slide-left-exiting—
.-transition-slide-right-entered—
.-transition-slide-right-entering—
.-transition-slide-right-exited—
.-transition-slide-right-exiting—
.-transition-slide-up-entered—
.-transition-slide-up-entering—
.-transition-slide-up-exited—
.-transition-slide-up-exiting—

Airíonna saincheaptha ​

AiríCineálRéamhshocraitheCur síos
--duration<time>300msFad an bheochana (réamhshocraithe 300ms); cuir in áit é chun gach staid aistrithe a luasghéarú nó a moilliú.
--timing*ease-in-outFeidhm ama an bheochana (réamhshocraithe ease-in-out).