Get in Touch

Course Outline

1. Modern CSS and Its Evolution

  • Transitioning from CSS3 to modern CSS
  • Current CSS standards and browser compatibility
  • Comprehending the CSS specification and browser support
  • Progressive enhancement strategies
  • Feature detection and graceful degradation
  • Navigating the modern CSS ecosystem

2. Advanced Selectors

  • Advanced attribute selectors
  • Structural pseudo-classes
  • :is()
  • :where()
  • :not()
  • :has() and relational selectors
  • Selector specificity
  • Managing specificity in large-scale projects
  • Best practices for modern selectors

3. Modern Colors and Visual Effects

  • RGB, HSL, and contemporary color functions
  • color(), lab(), lch(), oklab(), and oklch()
  • Relative color specifications
  • Transparency and alpha channels
  • Sophisticated gradients
  • Linear, radial, and conic gradients
  • color-mix()
  • Color interpolation techniques
  • CSS filters and visual effects
  • Modern theming and color systems

4. CSS Custom Properties and Design Systems

  • CSS variables and custom properties
  • Variable usage with fallback values
  • Dynamic theming capabilities
  • Component-level customization
  • Design tokens implemented with CSS
  • Creating light and dark theme variations
  • Utilizing var(), @property, and typed custom properties
  • Constructing maintainable CSS design systems

5. CSS Nesting and Cascade Management

  • Native CSS nesting features
  • Nesting syntax and recommended practices
  • CSS nesting compared to pre-processors
  • Cascade mechanisms and inheritance
  • Cascade layers using @layer
  • Managing third-party CSS styles
  • @scope and scoped styling concepts
  • Developing predictable CSS architectures

6. Advanced Layout with Flexbox

  • Review of Flexbox fundamentals
  • Main axis and cross-axis concepts
  • Advanced alignment techniques
  • Flexible sizing properties
  • gap
  • Wrapping and ordering elements
  • Nested Flexbox layouts
  • Common Flexbox design patterns
  • Creating responsive components with Flexbox

7. Advanced CSS Grid

  • Review of Grid fundamentals
  • Explicit and implicit grid definitions
  • Advanced track sizing
  • minmax()
  • auto-fit and auto-fill
  • min(), max(), and clamp()
  • Grid areas
  • Responsive Grid layouts
  • Complex page layout structures
  • CSS Subgrid
  • Applying Subgrid for aligned component layouts

8. Container Queries and Component-Based Responsiveness

  • Limitations of viewport media queries
  • Core concepts of container queries
  • container-type
  • @container
  • Container query length units
  • Component-driven responsive design
  • Container query style queries
  • Designing reusable responsive components
  • Comparing container queries to media queries

9. Modern Responsive Design

  • Mobile-first design philosophy
  • Responsive breakpoints
  • Fluid typography
  • Fluid spacing
  • clamp()
  • Modern viewport units:
    • svh
    • lvh
    • dvh
    • svw
    • lvw
    • dvw
  • Dynamic viewport considerations
  • Container-relative units
  • Responsive images and media
  • Minimizing unnecessary media queries

10. Logical Properties and Internationalization

  • Logical vs. physical CSS properties
  • margin-inline / margin-block
  • padding-inline / padding-block
  • inset-inline / inset-block
  • Logical sizing properties
  • Writing modes
  • Right-to-left (RTL) layout support
  • Building internationally adaptable interfaces

11. Modern Typography

  • Responsive typography techniques
  • Variable fonts
  • Font loading optimizations
  • font-size-adjust
  • Fluid type scales
  • Text wrapping and overflow management
  • text-wrap: balance
  • text-wrap: pretty
  • hyphens
  • Modern typography best practices

12. Transforms, Transitions, and Animations

  • 2D and 3D transformations
  • Transition properties
  • Keyframe animations
  • Timing functions
  • Animation composition
  • Transform performance optimization
  • Scroll-driven animations
  • animation-timeline
  • View-timeline concepts
  • Motion accessibility
  • prefers-reduced-motion
  • Performance considerations

13. Modern CSS UI Features

  • Native CSS dialogs and popovers
  • Styling interactive UI states
  • :popover-open
  • :modal
  • :focus-visible
  • :target
  • Form-state styling
  • accent-color
  • appearance
  • field-sizing
  • Modern form controls
  • Creating accessible CSS-only interactions

14. Advanced CSS Functions

  • calc()
  • min()
  • max()
  • clamp()
  • minmax()
  • fit-content()
  • color-mix()
  • Relative color functions
  • Combining functions for fluid layouts
  • Practical responsive design patterns

15. CSS Pre-processors

  • Overview of CSS pre-processors
  • LESS implementation
  • Variables and mixins
  • Nesting styles
  • Functions and operations
  • LESS compared to modern native CSS
  • Scenarios where pre-processors remain beneficial
  • Migrating pre-processor features to native CSS

16. Design and Accessibility Considerations

  • Modern CSS best practices
  • Accessibility-first styling
  • Keyboard focus states
  • :focus-visible
  • Reduced motion preferences
  • Contrast and color accessibility
  • Responsive text and content
  • Text overlay on images
  • Accessible responsive components
  • Progressive enhancement

17. CSS Performance and Maintainability

  • Reducing CSS complexity
  • Avoiding unnecessary specificity
  • Cascade layers for better maintainability
  • Reusable utility and component patterns
  • CSS containment concepts
  • content-visibility
  • Rendering and layout performance
  • Minimizing layout shifts
  • Organizing large CSS codebases
  • Debugging CSS with modern browser developer tools

18. Practical Modern CSS Project

Participants will develop a responsive modern web interface that incorporates:

  • CSS Grid
  • Flexbox
  • Subgrid
  • Container queries
  • CSS nesting
  • Custom properties
  • Cascade layers
  • Modern selectors
  • Fluid typography
  • Modern viewport units
  • Responsive design
  • Modern colors and gradients
  • Animations and transitions
  • Accessibility considerations
  • Performance best practices

Requirements

  • Foundational knowledge of HTML5
  • Proficiency in CSS fundamentals

Target Audience

  • Web developers
  • Frontend developers
  • Web designers
 7 Hours

Testimonials (1)

Related Categories