CSSPerspective

Limited availability

This feature is not Baseline because it does not work in some of the most widely-used browsers.

Giao diện CSSPerspective của CSS Typed Object Model API biểu thị giá trị perspective() của thuộc tính transform riêng lẻ trong CSS. Nó kế thừa thuộc tính và phương thức từ lớp cha CSSTransformValue.

CSSTransformComponent CSSPerspective

Hàm khởi tạo

CSSPerspective()

Tạo một đối tượng CSSPerspective mới.

Thuộc tính phiên bản

length

Trả về hoặc thiết lập khoảng cách từ z=0.

Ví dụ

Sẽ được thêm.

Thông số kỹ thuật

Specification
CSS Typed OM Level 1
# cssperspective

Tương thích trình duyệt