Pinned Loading
-
-
vscode-run-git-difftool
vscode-run-git-difftool PublicVisual Studio Code extension for running git difftool through context menu
-
-
wp-share-buttons
wp-share-buttons PublicWordPress plugin for adding social share buttons to posts
PHP
-
x-default-browser
x-default-browser PublicForked from jakub-g/x-default-browser
💻 Detect default browser, cross-platform
JavaScript
-
SCSS utilities for using vw units
SCSS utilities for using vw units 1# The Function
23Suppose we want a `div` to have `50px` width when the screen width is `500px` and a proportionate width when the screen width changes. We do math: `(50/500)*100 = 10` and set `width: 10vw`. The following simple function helps make our intention more clear:
4```scss
5@function get-vw($valueAtWidth, $width) {
Something went wrong, please refresh the page to try again.
If the problem persists, check the GitHub status page or contact support.
If the problem persists, check the GitHub status page or contact support.