You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Instantly share code, notes, and snippets.
George Goering
Ggoering
Dadding, nerding, gaming, cooking, TTing, sometimes coding.
HTML Code is a way to communicate with a browser how you want the features of the webpage to be formatted.
What is the difference between an element and a tag?
An element is composed of tags, attributes & their respective values, and content between the tags. A tag is a recognized piece of the HTML code contained within symbols '< >' that has intrinsic properties which will tell the browser to display the content a certain way.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
I learned that codepen doesn't create a new save if you change the file name and save again... So I can only share where I started a new pen. :sadface:
CSS Layout Challenge Number 3
Nested div 2 in div 1. Div 1 had position: relative. div 2 used position absolute. I subtracted half of div 1 height and width by half of div 2 height and width to get the positioning for the center, so then set top: 75px and left: 75px on div 2.
CSS Layout Challenge Number 10
Nested div 2 and 3 within div 1. I floated 2 and 3 left and right respectively with 50px margin, and translatedY 25%.