No-Library (pure JS), HTML, CSS, JavaScript
jQuery 3.3.1, HTML, CSS, JavaScript
Source: https://github.com/jerrylow/css-arrow-mixin
Source: https://codepen.io/enbee81/pen/MWPwMMJ
With window resize event throttling