Kyle Dharam Block: Elements: Modifiers: Example Code: Key Points: Inherited Properties: Non-Inherited Properties: Inline, Block, and Inline-Block: Why Use inline-block: Used for elements that need to align horizontally but also have size control, like buttons or cards.
Author: Kyle Dharam
week1 comment box
Kyle Dharam To center an element using transform: translate(-50%, -50%);, you do these steps: Example: In this example, the .child element is centered within the .parent container. Alternatively, modern CSS techniques like Flexbox offer more straightforward centering methods: This Flexbox approach centers the .child element both horizontally and vertically within the .parent container.
Kyle Dharam webdesign2 (week1)
The first ad (Scout vehicle) uses bold, rounded shapes in the car and fonts, with multiple font colors (yellow, green, and black) to highlight key points. Several images of the vehicle in different forms are included, arranged in a structured layout. The second ad (Lucky Strike cigarettes) has dynamic, curved shapes, with a woman’s face… Continue reading Kyle Dharam webdesign2 (week1)

