Skip to content

Instantly share code, notes, and snippets.

View Joshuajrodrigues's full-sized avatar
🐱

Joshua Rodrigues Joshuajrodrigues

🐱
View GitHub Profile
@Joshuajrodrigues
Joshuajrodrigues / gist:94a8434f64e0daff17c31296bc19e1d8
Created March 12, 2025 09:49
Width 100% of parent when child element is position:fixed;
use width inherit
.parent-element {
width : 100% / 300px etc
}
.fixed-item{
width:inherit
}