Thank you for sending your enquiry! One of our team members will contact you shortly.
Thank you for sending your booking! One of our team members will contact you shortly.
Course Outline
1. Modern CSS and Its Evolution
- Transitioning from legacy CSS3 to modern CSS
- Current CSS standards and their implementation across browsers
- Understanding the CSS specification and browser support matrices
- Principles of progressive enhancement
- Feature detection strategies and graceful degradation
- Navigating the modern CSS ecosystem
2. Advanced Selectors
- Utilizing advanced attribute selectors
- Applying structural pseudo-classes
- Exploring the
:is()function - Utilizing the
:where()function - Negating selectors with
:not() - Relational styling using
:has() - Understanding selector specificity
- Managing specificity in large-scale projects
- Best practices for modern selector usage
3. Modern Colors and Visual Effects
- Working with RGB, HSL, and contemporary color functions
- Implementing
color(),lab(),lch(),oklab(), andoklch() - Defining relative colors
- Managing transparency and alpha channels
- Crafting advanced gradients
- Mastering linear, radial, and conic gradients
- Mixing colors with
color-mix() - Color interpolation techniques
- Applying CSS filters and visual effects
- Developing modern theming and color systems
4. CSS Custom Properties and Design Systems
- Implementing CSS variables (custom properties)
- Handling variables and fallback values
- Creating dynamic themes
- Customizing at the component level
- Utilizing design tokens in CSS
- Building light and dark mode themes
- Leveraging
var(),@property, and typed custom properties - Constructing maintainable CSS design systems
5. CSS Nesting and Cascade Management
- Implementing native CSS nesting
- Nesting syntax and best practices
- Comparing CSS nesting with pre-processors
- Understanding the cascade and inheritance
- Organizing styles with
@layercascade layers - Managing third-party CSS styles
- Scoped styling concepts with
@scope - Building predictable CSS architectures
6. Advanced Layout with Flexbox
- Reviewing Flexbox fundamentals
- Understanding the main and cross axes
- Advanced alignment techniques
- Flexible sizing mechanisms
- Managing spacing with
gap - Handling wrapping and item ordering
- Creating nested Flexbox layouts
- Common Flexbox design patterns
- Building responsive components using Flexbox
7. Advanced CSS Grid
- Reviewing Grid fundamentals
- Distinguishing explicit and implicit grids
- Advanced track sizing strategies
- Constraining sizes with
minmax() - Auto-placement with
auto-fitandauto-fill - Dynamic sizing with
min(),max(), andclamp() - Defining Grid areas
- Creating responsive Grid layouts
- Structuring complex page layouts
- CSS Subgrid
- Aligning component layouts using Subgrid
8. Container Queries and Component-Based Responsiveness
- Limitations of viewport media queries
- Core concepts of container queries
- Defining containers with
container-type - Styling contexts with
@container - Using container query length units
- Component-driven responsive design
- Container query style queries
- Designing reusable responsive components
- Comparing container queries with media queries
9. Modern Responsive Design
- Mobile-first design principles
- Defining responsive breakpoints
- Implementing fluid typography
- Managing fluid spacing
- Clamping values with
clamp() - Modern viewport units:
svhlvhdvhsvwlvwdvw
- Considerations for dynamic viewports
- Container-relative units
- Handling responsive images and media
- Minimizing unnecessary media queries
10. Logical Properties and Internationalization
- Differentiating logical and physical CSS properties
- Applying
margin-inlineandmargin-block - Using
padding-inlineandpadding-block - Setting offsets with
inset-inlineandinset-block - Logical sizing techniques
- Supporting different writing modes
- Building right-to-left (RTL) layouts
- Creating internationally adaptable interfaces
11. Modern Typography
- Responsive typography strategies
- Implementing variable fonts
- Best practices for font loading
- Optimizing line height with
font-size-adjust - Creating fluid type scales
- Managing text wrapping and overflow
- Balancing text with
text-wrap: balance - Improving line breaks with
text-wrap: pretty - Hyphenation with
hyphens - Adopting modern typography best practices
12. Transforms, Transitions, and Animations
- 2D and 3D transformation techniques
- Implementing smooth transitions
- Crafting keyframe animations
- Utilizing timing functions
- Composing animations
- Optimizing transform performance
- Creating scroll-driven animations
- Controlling timelines with
animation-timeline - Understanding view-timeline concepts
- Ensuring motion accessibility
- Respecting
prefers-reduced-motion - Considering performance impacts
13. Modern CSS UI Features
- Implementing native CSS dialogs and popovers
- Styling interactive UI states
- Targeting open popovers with
:popover-open - Styling modal elements with
:modal - Refining focus states with
:focus-visible - Handling anchors with
:target - Styling form states
- Customizing accents with
accent-color - Adjusting appearances with
appearance - Scaling inputs with
field-sizing - Building modern form controls
- Creating accessible CSS-only interactions
14. Advanced CSS Functions
- Calculations with
calc() - Finding lower bounds with
min() - Finding upper bounds with
max() - Clamping values with
clamp() - Grid sizing with
minmax() - Content fitting with
fit-content() - Color blending with
color-mix() - Relative color functions
- Combining functions for fluid layouts
- Practical responsive design patterns
15. CSS Pre-processors
- Overview of CSS pre-processing tools
- Working with LESS
- Using variables and mixins
- Styling with nesting
- Performing functions and operations
- Comparing LESS with 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 approaches
- Managing keyboard focus states
- Enhancing visibility with
:focus-visible - Supporting reduced motion preferences
- Addressing contrast and color considerations
- Responsive text and content strategies
- Handling text over images
- Building accessible responsive components
- Applying progressive enhancement
17. CSS Performance and Maintainability
- Reducing overall CSS complexity
- Avoiding unnecessary specificity
- Enhancing maintainability with cascade layers
- Creating reusable utility and component patterns
- Understanding CSS containment
- Optimizing rendering with
content-visibility - Improving rendering and layout performance
- Minimizing layout shifts
- Organizing large CSS codebases
- Debugging CSS using modern browser developer tools
18. Practical Modern CSS Project
Participants will build a responsive modern web interface that incorporates the following elements:
- 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
- Fundamental knowledge of HTML5
- Proficiency in core CSS concepts
Target Audience
- Web developers
- Frontend developers
- Web designers
7 Hours
Testimonials (1)
Hands-on, exercises, in-person helping and questioning.