r/csshelp • • Aug 11 '23

Self-Project

In an effort to retain some concepts I'm learning I gave myself some self-projects (some are suuuuuper simple). The first one was just replicating the Google landing page (minus specific icons).

Let me know how I did?

The only critique I have for myself is letter-spacing.

https://codepen.io/kheller/pen/eYQwBQv

4 Upvotes

5 comments sorted by

View all comments

Show parent comment

1

u/Telumire Aug 11 '23 edited Aug 12 '23

Btw I forgot to tell you but the reason your letters have spacing issues is because of the html, when you do a line return this create whitespaces. You can see that with right click > inspect, using the dev tools of the browser.

The easiest way to get ride of thoses is to simply remove the space between the tags:

<span>G</span><span>O</span>..

Instead of

<span>G</span>
<span>O</span>..

You could also use display:flex to remove the whitespaces. One possible solution + some "cool" css tricks: https://codepen.io/telumire/pen/yLQdzBm

2

u/trollmeannakendrick Aug 12 '23

Thank you so much for your help! This worked a treat and I learned some new stuff!