CSS: Making Cool Stuff Since the 90's

Brad Hankee
Code a la Carte
Published in
2 min readApr 2, 2017

This week we got into CSS (cascading style sheets). If HTML is the structure of a website CSS is the paint, trim, type of roof etc. It provides the styling to the html content. This styling can be as basic as choosing which font to use (serif or sans serif) or even making and animating objects.

There are a few ways to integrate CSS in HTML. One way is to do inline CSS where you may integrate it directly into the HTML file. This works well, however; when you have multiple files and need to go back to change an element having the CSS in one file makes this much more efficient since one change can cover all instances across all files.

Some of the specific CSS functions we learned this week were creating borders to highlight certain elements and divs to give specific content it’s own styling. Also going over the differences of padding and margins helped out a lot. The main difference between these two is that padding impacts the content within the div and margin impacts the space outside the divs border. Both of these are useful in moving and creating the look and feel the developer is going for.

I look forward to learning more about CSS and diving into some of the libraries to integrate some really fun and creative aspects it delivers.

-Brad

--

--

Brad Hankee
Code a la Carte

Full stack developer / foodie that writes about daily learnings.