Save
Computer
Save
Share
Learn
Content
Leaderboard
Learn
Created by
Franchezca
Visit profile
Cards (14)
html
id-
used to specify a uniwue id for an html element
html
bookmark-
used to allow readers to jump to a specific parts of a webpage
position
property-
specifies the type of positioning method used for an element
position:
static-
always positioned according to the normal flow of the page
position:
relative-will
cause it to be adjusted away from its normal position
position:
fixed-
is positioned relative to the viewport
position:
absolute-
is position relative to the nearest position ancestor
position:
sticky-
is positioned based on the users scroll position
css
overflow-
specifies whether to clip the content or to add scrollbars when the content of an element is too big
Overflow properties values:
visible
hidden
auto
scroll
overflow:
visible-
meaning that its not clipped and it renders outside the element box
overflow:
hidden-
the overflow is clipped, and the rest of the content is hidden
overflow:
scroll-
the overflow is clipped and a scrollbar is added to scroll inside the box
overflow:
auto-
similar to scroll but it adds scroll bars only when necessary