rgba(0, 209, 112, 0.5)
- alpha 0-1
- opacity 0-1
Opacity affect the whole element.
position
https://developer.mozilla.org/en-US/docs/Web/CSS/position
position: sticky is coooool. Go check it out.
Transitions
1 | div:nth-of-type(2){ |
The Power of CSS Transforms
https://developer.mozilla.org/en-US/docs/Web/CSS/transform
FancyButton_Demo
1 |
|
1 | body{ |
The truth about Background
https://developer.mozilla.org/en-US/docs/Web/CSS/background
Google Font is Amazing
I could put whatever font I want. It might work on my machine, but I have no guarantees that same font will exist or be installed on your machine or the average person’s machine.
One option that we have is to actually include a font. As part of our document, we can include a font file so you can buy a font, you can download them.
Google font is free.
- copy-paste the link part to the
<head>in your html file - In css file,
1 | body{ |
PhotoBlogCodeAlog_Pt1
In order to do some simple calculation, we can use calc() in css.
1 | img { |
white space element:
Annoying issue for html, the reason why
1 |
NOT
1 |