Skip to article frontmatterSkip to article content
tools = require('../js/tools'); tools.init()
Loading...

purpose

ex1 - proportional columns

next snippet demontrates:

all this in one property:

Loading...

ex2 - partially fixed columns

mostly the same, but :

and now

Loading...

ex3 - on rows too

in the previous examples :

Loading...

assignment: the css-tricks page

browse quickly - but entirely - the very good introduction to grids that can be found on css-tricks.com so as to get a good grip of what’s achievable

more vs-code tricks

insert a wrapping tag

when using these technologies, you are often in a position to add wrapping tags in your html

to do this easily under vs-code :

in pictures: if you need to add a wrapping <div> / </div> around some text, select it

then activate the palette and search for ‘emmet: wrap with abbreviation’

select that function, you will be prompted for the name of the wrapping tag

custom keybinding

it is rather straightforward to attach a custom keybinding to that function if you use it often
start with .. the palette, of course

for example here, we just type ‘Alt-o’ and the shortcut gets recorded from now on