Compiler
CSS Properties
align-self
Run
<!DOCTYPE html> <html> <head> <style> .box { display: flex; align-items: flex-start; width: 100%; height: 250px; border: 1px solid #eeeeee; } .box div { flex: 1; } .box .mydiv { align-self: center; } </style> </head> <body> <h1>The align-self property</h1> <div class="box"> <div style="background-color:#00ab55;min-height: 40px;"></div> <div style="background-color:#ff4842;min-height: 60px;" class="mydiv"></div> <div style="background-color:#ffc107;min-height: 40px;"></div> </div> <p><b>Note:</b> Internet Explorer 10 and earlier versions do not support the align-self property.</p> </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