Tag: quick-tips (4 posts)

How to post code snippet and run it

March 30, 2020

Highlight the code Jekyll supplys a tag called highlight . It can accept some parameters - what's the code language and whether show lines…

Jekyll Tips

October 28, 2018

To present tag posts count use tag[1].size To display a ruby code but prevent compiler from render it, use {% raw %}

pointer-events none for children

October 03, 2018

Sometimes you want to "disable" all the elements inside a certain element. So we can easly use pointer-events: none . The problem What if…

position fixed relative to parent

October 03, 2018

We all know that position: fixed is relatively to the window , right? Well, no. We can put it inside a position: relative element. What…

© 2021 - Moshe Feuchtwander