Compiler
CSS Properties
mask-mode
Run
<!DOCTYPE html> <html> <head> <style> .img-mask { -webkit-mask-image: url('https://webtutor.dev/images/logo.png'); mask-image: url('https://webtutor.dev/images/logo.png'); -webkit-mask-size: 50%; mask-size: 50%; -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat; } .luminance{ mask-mode: luminance; } .alpha{ mask-mode: alpha; } </style> </head> <body> <h2>mask-mode: luminance</h2> <div class="img-mask luminance"> <img src="https://webtutor.dev/images/women.jpg" alt="women" width="500" height="150"> </div> <h2>mask-mode: alpha</h2> <div class="img-mask alpha"> <img src="https://webtutor.dev/images/women.jpg" alt="women" width="500" height="150"> </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