create account

How to get in touch with CSS very easily. Manipulate website design by niloa

View this thread on: hive.blogpeakd.comecency.com
· @niloa · (edited)
$0.36
How to get in touch with CSS very easily. Manipulate website design
Hello, this article is not a tutorial or a guide through CSS, but describes a way to get in contact with it on a very playful way. At least I learned a lot with it. 

### What is CCS?
CSS is the style language of most websites. It defines all kind of styles like font-type and size, color, spacing, borders and many things more. 


### Do I need software?
NO. Most browsers have a developer tool where you can change these styles instantly for your view. There you can play around and change the styles like you prefer. It‘s fun and you learn a lot playing around.

### Let's do it!



**Step 1:** Open [Wikipedia](https://en.wikipedia.org/wiki/Main_Page) in a browser (tested with FireFox and Chrome). Then press F12 on your keyboard

![Image of Yaktocat](https://snag.gy/PaykJm.jpg)

**Step 2:** Now the developer box opens at the bottom. Press the icon on the very top left (box with arrow)

**Step 3:** Point an element on the website. Let‘s take the headline 'Welcome to Wikipedia'. Click it. ![Image of Yaktocat](https://snag.gy/k5FHGz.jpg)

A short explanation: The left side of the developer box shows the HTML-code. We don‘t care about that today. We focus on the small box right handed. This is the style language. We now go on to manipulate that.

![Image of Yaktocat](https://snag.gy/9xqkPs.jpg)

**Step 4:** First CSS rule is 'font-size:162%'. That means the size of the headline font is 162% of the default font-size. Click on the number 162% and change it to something like 300%.

**Step 5:** It‘s magic ;) you just changed the headline size of Wikipedia (at least for your view). You can undo the change when you reload the page.


### And now?
You know the basic principle how to change an existing style rule. But you can also add rules:

**Step 1:** Click the value '.1em' ![Image of Yaktocat](https://snag.gy/9xqkPs.jpg)

**Step 2:** Press Tabulator on your keyboard

**Step 3:** We now want to change the color of the headline. So we type in color and press Tabulator again

**Step 4:** type in **purple**. It should then look like that: ![Image of Yaktocat](https://snag.gy/cJTWCu.jpg)


Challenge: Find out how you can change all links from blue into purple :) It should look like this:
![Image of Yaktocat](https://snag.gy/OvViYC.jpg)

Have fun!!
👍  , , ,
properties (23)
authorniloa
permlinkhow-to-get-in-touch-with-css-very-easily-manipulate-website-design
categorycss
json_metadata{"tags":["css","html","design","web","internet"],"image":["https://snag.gy/PaykJm.jpg","https://snag.gy/k5FHGz.jpg","https://snag.gy/9xqkPs.jpg","https://snag.gy/cJTWCu.jpg","https://snag.gy/OvViYC.jpg"],"links":["https://en.wikipedia.org/wiki/Main_Page"],"app":"steemit/0.1","format":"markdown"}
created2017-12-13 23:34:12
last_update2017-12-13 23:37:39
depth0
children0
last_payout2017-12-20 23:34:12
cashout_time1969-12-31 23:59:59
total_payout_value0.279 HBD
curator_payout_value0.079 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length2,270
author_reputation152,613,340,830
root_title"How to get in touch with CSS very easily. Manipulate website design"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id23,425,585
net_rshares64,002,545,143
author_curate_reward""
vote details (4)