Let's decode in this thread how we can create Ferb using few simple CSS steps. Let's go
π§΅ππ»
STEP 1: Create a Face of rectangular shape
- Create a rectangle and rotate it a little bit
- Give it a solid border without border-bottom
- Position it
STEP 2: Create Lips
- Make a small square
- Add bottom and left border
- Skew it so that it seems like a lip
- Add little bit of bottom-left radius to give it a more realistic look
STEP 3: Create a Ear
- Create a circle
- Give it a solid right and bottom border of color same as face
- Rotate it a bit in order to match the boundary of ear to face
STEP 4: Create a Nose
- Make a square
- Apply solid border of same color as of face
- border-right: none - in order to match it with the face boundary
- Position and rotate it so that it sync with the face
We need to extend the border of nose so that it looks like the nose is coming out of the face.
Again, we can do that using pseudo-elements
- Just create a small rectangle with same border and adjust it to the top border of nose
STEP 5: Create an eye
- For eye we need an oval shape (height > width)
- Apply black border with white background color
- Position it behind the nose
- Add a small black oval inside the eye
* You can create black oval using pseudo-elements ::before
- Add a even small white reflection in black oval(pupil) to give it a more realistic look
* You can create black oval using pseudo-elements ::after
STEP 6: Create second Eye
- Create second eye using same technique and code
- Just position it differently
STEP 7. Create hair spike
This is the easiest part in my opinions because all you need to make are just random spikes.
What I have done here is just created a border-top 20px and rotate it in order to give it a spike look.
STEP 8. Create hairs
Repeat step 7 and create multiple spikes so that they look like hair
Structuring your website is essential as it provides better navigation and visualization of the content available on the site. Let's talk a little more about it and learn how we can create a proper layout
π§΅ππ»
Web layout aims for presenting imformation in a logical manner and to make the important elements stand out.
A well designed layout can catch more traffic on your website and make your content easy to understand
π Design vs Layout?
Web layout is closely related to designing part. But we can say that web designing is much more than the layout only. It covers images, text, color scheme, typography and layout
On the other hand, Layout is all about arrangement of element on the webpage
JavaScript is probably one of the most commonly used programming languages ββnowadays. It has a wide range of applications in almost all technologies
π§΅ππ»
If you're planning to start with coding then JavaScript would not be a bad choice. In fact, it is the best choice. Why?
1. You can use it everywhere 2. A lot of jobs opportunities 3. Easy to learn
Lets talk about the use cases of JavaScript in bit detail
Web development is probably the largest field in IT industry. People all around the globe using web services in some context which makes this field even vast and eventually opens doors for beginners....