DEV Community

Cover image for I AM AN ARTIST BUT I USE HTML ๐ŸŽจ
Mince
Mince

Posted on โ€ข Edited on

2 2 2 2 2

I AM AN ARTIST BUT I USE HTML ๐ŸŽจ

The Dramatic Past ๐ŸŽญ

A always loved to draw picture ๐Ÿ˜, a cat ๐Ÿฑ, a buffalo ๐Ÿƒ, a phone ๐Ÿ“ฑand all sorts of other stuff. I drew ๐Ÿ€„ and drew until one day, when my teacher way gave an expression of excitement ๐Ÿ™ƒ after looking at my drawing. She gave me this grade. ๐Ÿ˜ญ

After 5 years of not drawing anymore 5๏ธโƒฃ

Again, after 5 years I took my pencil โœ to draw an iPhone ๐Ÿ“ฑ, but waaaait. I suck at drawing. What can i do ๐Ÿค”. Program it ๐Ÿ˜†

CANVAS ๐ŸŽฉ

The internet is going to be my next canvas ๐Ÿ–ผ. There are many tools such as SVG, ICONS, THREE.JS, GSAP....etc that help you get this job done. But what's our speciality ?๐Ÿ™„ So, I started using only CSS and HTML to draw graphics on a website. I made this phone ( comment if you like it). Just have a look

Amazing phone

Every diagram can be broken down into shapes for instance let's take the phone I made. The Outer case is a rectangle with border-radius. Even the inner screen is the same. The fingerprint thingy was made by making circle and then giving it a think border ( same colour as the outer case ), This gives the required look. The volume buttons are rectangles with border radius on only the left side of their length. The camera is black circle with dark grey border that gives it the feel. You do not need advanced JavaScript APIs, libraries or C++, C, Python Turtle, Java all those for graphic designing. Common designing and applying are the two basic features of designing a perfect graphic.

STEPS OF SUCCEESS ๐Ÿ“ˆ

In the hyperplexed way. Break bigger anxieties into smaller anxieties and conquer them ๐Ÿคบ.Sir if you are reading this, I am a big fan of yours ๐Ÿ™. Now the anxieties_(I mean steps)_:

STEP 1: Design using shapes in figma ๐Ÿฐ

STEP 2: Assign a div for everything ๐Ÿ˜Ž

STEP 3: Position them using z-index ๐Ÿ˜‰

STEP 4: Give them some colour โ›„

STEP 5: Share the design ๐Ÿฆˆ

MISTAKES โŒ

If you don't make the following mistakes, your good to go

1) Setting position fixed
2) Giving equal z-index
3) Not having a container
4) Not knowing about margins, paddings, z-index & border-radius

Now that you know how to create a design here is a challenge from Mince

CHALLENGE ๐Ÿ’ช

The challenge is to create a snowman โ›„ only using CSS & HTML in CODEPEN and post the link in comments. Best snowman โ›„ gets a shout out ๐Ÿ˜†!

I am very happy because of the enormous support from you guys, I got 400+ followers of only 4 posts.

OK, NOW COMPLETE THE CHALLENGE !

Check out my website guys: Citeal

#css #design #new #webdev #dev.to #codepen

SurveyJS custom survey software

JavaScript UI Libraries for Surveys and Forms

SurveyJS lets you build a JSON-based form management system that integrates with any backend, giving you full control over your data and no user limits. Includes support for custom question types, skip logic, integrated CCS editor, PDF export, real-time analytics & more.

Learn more

Top comments (1)

Collapse
 
mince profile image
Mince โ€ข

First snowman also gets a shout out ๐Ÿ“ข!

A Workflow Copilot. Tailored to You.

Pieces.app image

Our desktop app, with its intelligent copilot, streamlines coding by generating snippets, extracting code from screenshots, and accelerating problem-solving.

Read the docs

๐Ÿ‘‹ Kindness is contagious

Please leave a โค๏ธ or a friendly comment on this post if you found it helpful!

Okay