Skip to content

Instantly share code, notes, and snippets.

View xizon's full-sized avatar
๐Ÿ„โ€โ™€๏ธ
Cool!

UIUX Lab xizon

๐Ÿ„โ€โ™€๏ธ
Cool!
View GitHub Profile

Iframe Height Auto-Adjustment Solution

This code is used for pages opened in iframes to precisely adjust the parent iframe height.

Height Calculation Problem

When using vh units inside an iframe, element heights will always equal the viewport height of the iframe.

Circular Dependency

@xizon
xizon / vanilla-js-helpers.js
Last active December 24, 2024 09:54
Vanilla-js Helpers
/**
*************************************
* Core Helpers
*
* @package: https://github.com/xizon/boot-helpers
* @version: 0.1.7
* @last update: May 25, 2023
* @author: UIUX Lab <uiuxlab@gmail.com>
* @license: MIT