Web Dev Roadmap for Beginners (Free!): https://bit.ly/DaveGrayWebDevRoadmap
Learn CSS functions in this tutorial for beginners. CSS has many built-in functions and in this CSS functions tutorial we will cover min, max, clamp, minmax, calc, attr, repeat, var, and more.
Subscribe https://bit.ly/3nGHmNn
This lesson is part of a CSS for Beginners tutorial series playlist:
https://www.youtube.com/playlist?list=PL0Zuz27SZ-6Mx9fd9elt80G1bPcySmWit
All Resources for this CSS Tutorial Series: https://github.com/gitdagray/css_course
Course Updates https://courses.davegray.codes/
CSS Functions Tutorial for Beginners | min, max, clamp, minmax, calc, attr
(00:00) Intro
(00:05) Welcome
(00:26) Starter Code
(00:57) CSS functions we already use
(03:01) min function
(06:18) Quick page adjustments
(07:45) Unit choices
(09:01) max function
(11:08) clamp function
(12:58) Add an aside with calc and clamp
(18:10) Small adjustment
(18:33) filter functions - brightness, hue-rotate
(20:57) Create a tooltip with attr function
(24:20) Grid functions - repeat, minmax
Web Dev Tools:
Chrome Browser: https://www.google.com/chrome/
Visual Studio Code (VS Code): https://code.visualstudio.com/
Live Server VS Code Extension: https://marketplace.visualstudio.com/items?itemName=ritwickdey.LiveServer
vscode-icons VS Code Extension: https://marketplace.visualstudio.com/items?itemName=vscode-icons-team.vscode-icons
Github Themes VS Code Extension: https://marketplace.visualstudio.com/items?itemName=GitHub.github-vscode-theme
W3C CSS Validator: https://jigsaw.w3.org/css-validator/
Specificity Calculator: https://specificity.keegan.st/
HTML Special Characters and Entities: https://unicode-table.com
CanIUse.com: https://caniuse.com/
References:
MDN CSS: https://developer.mozilla.org/en-US/docs/Web/CSS
MDN CSS Basics: https://developer.mozilla.org/en-US/docs/Learn/Getting_started_with_the_web/CSS_basics
MDN CSS Selectors: https://developer.mozilla.org/en-US/docs/Learn/CSS/Building_blocks/Selectors
MDN - How to Apply Colors to HTML Elements with CSS: https://developer.mozilla.org/en-US/docs/Web/CSS/color
MDN - CSS Values and Units: https://developer.mozilla.org/en-US/docs/Learn/CSS/Building_blocks/Values_and_units
MDN - The Box Model: https://developer.mozilla.org/en-US/docs/Learn/CSS/Building_blocks/The_box_model
MDN - Styling Lists: https://developer.mozilla.org/en-US/docs/Learn/CSS/Styling_text/Styling_lists
MDN - Display Property: https://developer.mozilla.org/en-US/docs/Web/CSS/display
MDN - Floats: https://developer.mozilla.org/en-US/docs/Learn/CSS/CSS_layout/Floats
MDN - Columns: https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Columns/Basic_Concepts_of_Multicol
MDN - Margin Collapsing: https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Box_Model/Mastering_margin_collapsing
MDN - White-Space: https://developer.mozilla.org/en-US/docs/Web/CSS/white-space
MDN - Positioning: https://developer.mozilla.org/en-US/docs/Learn/CSS/CSS_layout/Positioning
MDN - Flexbox: https://developer.mozilla.org/en-US/docs/Learn/CSS/CSS_layout/Flexbox
MDN - Basic Concepts of Grid Layout: https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Grid_Layout/Basic_Concepts_of_Grid_Layout
MDN - Grid Template Areas: https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Grid_Layout/Grid_Template_Areas
MDN - CSS Images: https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Images
MDN - CSS Background Images: https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Backgrounds_and_Borders/Resizing_background_images
Chip Cullen - Article on Content Layout Shift: https://chipcullen.com/what-width-and-height-attributes-to-use-with-responsive-images/
MDN - CSS Media Queries: https://developer.mozilla.org/en-US/docs/Learn/CSS/CSS_layout/Media_queries
MDN - CSS Pseudo-Classes and Pseudo-Elements: https://developer.mozilla.org/en-US/docs/Learn/CSS/Building_blocks/Selectors/Pseudo-classes_and_pseudo-elements
MDN - List of CSS Pseudo-Classes: https://developer.mozilla.org/en-US/docs/Web/CSS/Pseudo-classes
MDN - List of CSS Pseudo-Elements: https://developer.mozilla.org/en-US/docs/Web/CSS/Pseudo-elements
MDN - CSS Custom Properties (Variables): https://developer.mozilla.org/en-US/docs/Web/CSS/Using_CSS_custom_properties
MDN - CSS Functions: https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Functions
Follow Me:
Github: https://github.com/gitdagray
Twitter: https://twitter.com/yesdavidgray
LinkedIn: https://www.linkedin.com/in/davidagray/
Blog: https://yesdavidgray.com
Reddit: https://www.reddit.com/user/DaveOnEleven
Was this tutorial about CSS Functions helpful? If so, please share. Let me know your thoughts in the comments.
#css #functions #tutorial