Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS Making a responsive CSS square Reply To: Making a responsive CSS square

#200194
Shikkediel
Participant

Cheers, thanks for the tip. I’ve included the link to that page in the reply which offers a trick for that as well. Slightly hackish (absolute positioning) but overruled by niftiness of approach, I reckon :

#inner {
    position:  absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    background: rgba(0, 0, 255, 0.35)
}

https://jsfiddle.net/3z887swo/5/