DEV Community

Syntax - Tasty Web Development Treats

STUMP'D Interview Questions - CSS Edition

In this episode of Syntax, Scott and Wes are back with another edition of “Stump’d!” where they try to stump each other with interview questions.

Sanity - Sponsor

Sanity.io is a real-time headless CMS with a fully customizable Content Studio built in React. Get a Sanity powered site up and running in minutes at sanity.io/create. Get an awesome supercharged free developer plan on sanity.io/syntax.

Sentry - Sponsor

If you want to know what’s happening with your code, track errors and monitor performance with Sentry. Sentry’s Application Monitoring platform helps developers see performance issues, fix errors faster, and optimize their code health. Cut your time on error resolution from hours to minutes. It works with any language and integrates with dozens of other services. Syntax listeners new to Sentry can get two months for free by visiting Sentry.io and using the coupon code TASTYTREAT during sign up.

Cloudinary - Sponsor

Cloudinary is the best way to manage images and videos in the cloud. Edit and transform for any use case, from performance to personalization, using Cloudinary’s APIs, SDKs, widgets, and integrations.

Show Notes

06:05 - Which property allows you to control the shape or appearance of the marker of a list?

06:33 - What is a pseudo element? What is a pseudo class?

09:15 - What is the difference between block, inline and inline-block elements?

10:15 - What is a combinator selector?

11:12 - What is specificity? How do you calculate specificity?

14:37 - True or False — The translate() function can move the position of an element on the z-axis?

16:44 - What is the difference between “resetting” and “normalizing” CSS?

17:51 - How can you load CSS resources conditionally?

19:45 - Is there any reason you’d want to use translate() instead of absolute positioning, or vice-versa?

22:30 - When to use CSS grid vs flexbox?

25:12 - What are all eight @-rules in CSS?

28:01 - Which property is used to underline, overline, and strikethrough text?

29:52 - What is DOM reflow?

32:14 - How do you serve your pages for feature-constrained browsers? What techniques do you use?

34:00 - What is the property for controlling image-scroll?

36:23 - What are the three different types of CSS gradients?

Links ××× SIIIIICK ××× PIIIICKS ××× Shameless Plugs Tweet us your tasty treats!

Episode source