Compiler
CSS Properties
perspective-origin
Run
<!DOCTYPE html> <html> <head> <style> .box1 { position: relative; height: 125px; width: 125px; margin-left: 40px; border: 2px solid #ff4842; perspective: 110px; perspective-origin: left; } .box2 { position: relative; height: 125px; width: 125px; margin-left: 40px; border: 2px solid #ff4842; perspective: 125px; perspective-origin: bottom right; } .box3 { position: relative; height: 125px; width: 125px; margin-left: 40px; border: 2px solid #ff4842; perspective: 110px; perspective-origin: -90%; } .inner-box { padding: 50px; position: absolute; border: 1px solid black; background: rgb(0 171 85 / 50%); transform-style: preserve-3d; transform: rotateX(40deg); } </style> </head> <body> <h1>The perspective-origin property</h1> <h2>perspective-origin: left</h2> <div class="box1"> <div class="inner-box">3D</div> </div> <h2>perspective-origin: bottom right</h2> <div class="box2"> <div class="inner-box">3D</div> </div> <h2>perspective-origin: -90%</h2> <div class="box3"> <div class="inner-box">3D</div> </div> </body> </html>
Editor Commands
Commands
Shortcut Key (Win)
Shortcut Key (Mac)
selectAll
Ctrl-A
Cmd-A
singleSelection
Esc
-
killLine
-
Ctrl-K (Mac)
deleteLine
Ctrl-D
Cmd-D
undo
Ctrl-Z
Cmd-Z
redo
Ctrl-Y
Shift-Cmd-Z, Cmd-Y
undoSelection
Ctrl-U
Cmd-U
redoSelection
Alt-U
Shift-Cmd-U
goDocStart
Ctrl-Home
Cmd-Up, Cmd-Home
goDocEnd
Ctrl-End
Cmd-End, Cmd-Down
goLineStart
Alt-Left
Ctrl-A
goLineEnd
Alt-Right
Ctrl-E
goLineRight
-
Cmd-Right
goLineLeft
-
Cmd-Left
goLineUp
Up
Ctrl-P
goLineDown
Down
Ctrl-N
goPageUp
PageUp
Shift-Ctrl-V
goPageDown
PageDown
Ctrl-V
newlineAndIndent
Enter
-
save
Ctrl-S
Cmd-S