ICT40120 Web Dev

LT7: Layout with Flexbox

LT7-1: Centering a logo

LT7-3: Responsive layout with equal-height columns using Flexbox

Logo v1

A very old computer

I created The logo above for a commemorative coin for the 2022 season of my Bloodbowl league. It's formatted as an svg, and thus had to be embedded, as the familiar 'img' tag was causing issues.

Logo v2

An old computer

Turns out the 'embed' tag was also causing issues! apart from being largely depreciated, it was also proving non-reactive to window size. 'object' tag was the answer, though it took an embarrassingly long time for me to work it out.

Logo v3

A modern computer

So, turns out the 'object' tag is not good semantic HTML, so I started from scratch yet again. This time I used a single container, and used the 'img' tag, and I formatted the background as a 'background-image', and used 'background-blend-mode' to fade the backdrop, and allow the logo to draw focus.

I exported the logo as an .svg using Photoshop, and ran into myriad problems as it seems that my Photoshop exports .svg's with a very slightly wrong media type ('data:img/png', instead of 'data:image/png'), which was causing problems with the image displaying in chrome, but worked fine in my IDE.

The .svg problem vexed me for hours, and was only solved with the aid of my software developing friend Richard Johnson, who discovered the solution Here

Images for columns credit of 'History of Computers' by Vexels.

LT7-4 Using Flexbox to deploy "cards"

Free

$0 / mo

10 users included
2 GB of storage
Email support
Help center access

Pro

$15 / mo

20 users included
10 GB of storage
Priority email support
Help center access

Enterprise

$29 / mo

30 users included
15 GB of storage
Phone and email support
Help center access