[go: up one dir, main page]

Front-end education for the real world. Since 2018.





Quick Tip

Topic Archive
  1. How to stop Figma using your work to train their “AI” models

    A really quick video to show you where the right settings are and what settings to disable to protect your work.

  2. Define delay for each property in the transition shorthand

    You can set a different delay for each transitioned property, using the transition shorthand, which creates some pretty cool state changes.

  3. Prevent squishy elements with flex none

    You can prevent that annoying squished look that elements like icons get when space runs out in a flex context with flex: none.

  4. Use transparent borders and outlines to assist with high contrast mode

    It’s tempting to use a sharp box shadow for focus styles to both remove the default focus ring and to get around sharp outline corners. With this method, you can create problems for Windows High Contrast users, so this quick tip will help you get the best of both worlds.

  5. Disable client-side React with Next JS

    Frameworks like Next JS output a lot of heavy-duty client side JavaScript, so this quick tip stops that to have a huge positive impact on performance.

  6. Add inline SVG directly in your CSS

  7. Add scroll margin to all elements which can be targeted

    We can add an extra bit of space to targeted elements, thanks to modern CSS!

  8. Control changing numbers with font variant numeric

    Get the benefits of monospaced fonts with your favourite (supported) non-monospaced fonts.

  9. Convert a 2D array into a flat, 1D array of unique items

    Convert a messy multidimensional array into a nice single dimension array of unique items.

  10. Use CSS Clamp to create a more flexible wrapper utility

    A handy way to use modern CSS functions to give yourself fine-grained, yet flexible, design control.

  11. Load all focusable elements with JavaScript

    A handy helper function that will load all user-focusable elements inside a parent element for you.

  12. Dynamic footer copyright date in Eleventy

    That time of the year is coming up, so this trick will keep your website footer up to date on your Eleventy site.

  13. Flow CSS Utility

  14. Create a JSON feed with 11ty

  15. Picture element as a progressive enhancement

  16. Use grayscale filter to see where you are relying too much on colour

  17. Create a line break while maintaining inline status

  18. Squishy button active state

  19. Aligning description lists with CSS Grid

  20. Contains CSS attribute selector

  21. Easy horizontal and vertical centering in CSS

  22. A safer way to vertically fill the viewport

  23. Make a button element look like a link

  24. Limit line lengths to increase readability

  25. Responsive borders with CSS outline

  26. Use a set to remove array duplicates

  27. How to use the lesson project files to rescue your project

    Sometimes you get a bit stuck in a course, so this quick tip teaches you how to get back on track

  28. CSS Logical Properties

    Create spacing that works regardless of the direction of your content or the environment of your users.