Upgrade to remove ads
Terms in this set (20)
a hybrid of relative and fixed positioning. It is treated as relative until it crosses a specific threshold, at which point it is treated as fixed
@ media breakpoints where certain css styling changes based on the width of the screen
matches every element that is the nth child, regardless of type. examples include odd, even, every third, ect
important in controlling the behavior of floats
When you set this on an element, the padding & border or that element no longer increase its width. Many coders put this on all of their pages
the default value of any element. It is not positioned in any special way. When an element is static, it is considered to be not positioned. A position set to anything else is considered positioned
if you want any element at the center position, margin: auto; works perfectly, but only with block elemenets
is an individual component of an HTML (Hypertext Markup Language) document or web page.
intended for wrapping text around images
will be adjusted away from its normal position. Other content will not be adjusted to fit any gap left by the element
give the element a coordinate & it will stay there. Example, a nav bar that remains at the top or bottom of a page. Warning - mobile browswers have suprisingly shakes support for fixed
acts like fixed, except relative to the nearest positioned ancestor instead of relative to the viewport. If there are no ancestors, it uses the body.
css box model
every element on a page is a rectangular box that may have width, height, padding, border & margins (needs visual aid)
the building block of a CSS stylesheet. A rule consists of a selector and a declaration block (one or more declarations)
a declaration is made up of a property and a value, seperated by a color and punctuated by a semicolon.
an expression of the kind of content contained by a tag in HTML
the characteristics of the selector that will be changed
the amount or type of change that is being applied to the corresponding property of the matched selector
added to an html tag to provide a "hook" to that element. Classes are used multiple times per page and are used for styling groups of elements. Think of them as a barcode that links multiple copies of the same thing.
added to an html tag to provide a "hook" to that element. Unlike classes, IDs are used one time per page. Think of them as a serial number that identifies one specific element.
YOU MIGHT ALSO LIKE...
Chapter 6 Review
CSS Display and Positioning
DOM Element (Properties and Methods)
OTHER SETS BY THIS CREATOR
OTHER QUIZLET SETS
Old Testament Exam 3 (reading questions)
ap psych unit 1
bio 1010 exam 4 (reproductive system cont.; nervou…
PSYCH EXAM 1- online lecture- trauma informed care