DEV Community

Leandro Barbosa
Leandro Barbosa

Posted on


Google Logo

here is my version of google logo with only css

The only div html

and here is the css code

start with the body

and here our google-logo class

Ithe circle with differents colors

here we gonna create the retangle to do the G using the :before

and finally the triangle to be able to do the same shape as a google logo, with :after


----------------------THE FINAL RESULTS-----------------------


Top comments (1)

thomasbnt profile image
Thomas Bnt

Hello ! Don't hesitate to put colors on your codeblock like this example for have to have a better understanding of your code 😎

console.log('Hello world!');
Enter fullscreen mode Exit fullscreen mode

Example of how to add colors and syntax in codeblocks

Visualizing Promises and Async/Await 🀯

async await

☝️ Check out this all-time classic DEV post