We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. Weβll occasionally send you account related emails.
Already on GitHub? Sign in to your account
/** μ€ μΈ μ€ μμ ꡬνμ μν λ³μ */ --floor: ${(props) => parseInt(props.idx / 3) || 0}; --nth: ${(props) => props.idx % 3 || 0}; --zoom-translate-x: calc( 50% - (var(--item-width) * var(--nth)) - (var(--item-width) / 2) ); --zoom-translate-y: calc( -50% + (var(--item-height) * var(--floor)) + (var(--item-height) / 2) ); --zoom-transform-origin: calc( var(--item-width) * var(--nth) + (var(--item-width) / 2) ) calc(100% - (var(--item-height) * var(--floor)) - (var(--item-height) / 2)); --zoom-scale: calc(100 / (90 / (var(--total-floor) + 0.1))); /**scaleμ number(λ¨μ μλ μ μλ μμ) λ§ λ°κΈ° λλ¬Έμ length(px, vh, rem λ±) μλ£νμ λ£μΌλ©΄ μλμ΄ μ λλ€. */ /** μ€ μΈ μ€ μμ - μ λμ΄ ν κ°μΈ κ²½μ° */ --one-zoom-translate-x: 0; --one-zoom-translate-y: calc(-50% + (var(--one-item-height) / 2)); --one-zoom-transform-origin: 50% calc(100% - (var(--one-item-height) / 2)); --one-zoom-scale: calc(100 / (90 / (var(--total-floor) - 0.5))); /** μ€ μΈ μ€ μμ - μ λμ΄ λ κ°μΈ κ²½μ° */ --two-zoom-translate-x: calc(25% - (50% * var(--nth))); --two-zoom-translate-y: calc(-50% + (var(--two-item-height) / 2)); --two-zoom-transform-origin: calc( var(--two-item-width) * var(--nth) + (var(--two-item-width) / 2) ) calc(100% - (var(--two-item-height) / 2)); --two-zoom-scale: calc(100 / (90 / (var(--total-floor) - 0.5)));
λ¬λ €λ³΄κ² μλλ€γ γ ....!!π
The text was updated successfully, but these errors were encountered:
nuuco
No branches or pull requests
- μ€λμ μ΄λ€ μμ μ μ§ννλμ?
- μ€λ μμ λ΄μ©μ€ μ΄λ €μ λ λΆλΆμ΄ μμλμ?
- λ΄μΌμ μ΄λ€ μμ μ κ³ννκ³ μλμ?
λ¬λ €λ³΄κ² μλλ€γ γ ....!!π
The text was updated successfully, but these errors were encountered: