Rezultati pretraživanja
  1. 26. sij

    Have you ever needed a shadow on an SVG or PNG, but it ignored the transparency? Use filter: drop-shadow() instead of box-shadow! See the code:

  2. 2. velj
    Odgovor korisniku/ci
  3. 2. velj

    You can use emoji as class names (or even for custom properties!). While I don't think this is a great idea for production sites, it can be a nice way to add some fun to a personal project of yours 😄 See the code:

  4. 1. velj

    The :focus-within pseudo-class might be as close to a parent selector that we have. Apply a new style if any descendent element gains focus! Play with the code:

  5. 1. velj
  6. 1. velj

    Did you know you have 7 different types of attribute selectors in ?

  7. 31. sij

    A word of warning for those following the - to hit 365 of them, some might be cutting edge stuff with terrible support, and some other stuff might be really basic. I figure it's good to cover all bases, but also, 365 is a lot, lol.

    Prikaži ovu nit
  8. 31. sij

    You can make changes with the :placeholder-shown pseudo-class. As the name implies, it changes the style of something based on if the placeholder is visible. Combine it with :not() and you can pull of some fun stuff. See the code:

  9. 30. sij

    You can change the style of placeholder text by using the ::placeholder pseudo-selector. It's a nice way to customize a design, but it's probably a good idea to still have labels 😄 See the code:

  10. 29. sij

    It happens to all of us, we think everything is perfect but there is some mystery element causing a horizontal scrollbar and it's impossible to find what's causing it. Add an outline to everything and mystery solved! Play with the code:

  11. 28. sij

    Until the gap property gains support for Flexbox outside of Firefox, this is a great way to get the same result. .content > * + * { margin-left: 1em; } See the code:

  12. 28. sij
    Odgovor korisniku/ci

    is really helpful. Thank you

  13. 27. sij

    The :not() pseudo-class opens up a lot of doors! It could be useful to set margins on everything except the last (or first) child as well, or a number of other uses. See the code:

  14. 25. sij

    There are so many ways to center things with these days, but if you need vertical and horizontal centering, grid is where it's at 💪 Play with the code:

  15. 24. sij

    You can outline text using 'text-outline', but interestingly, even Firefox requires the -webkit- prefix! Also, watch out for browser support on this one, last thing you want is text to be unreadable for some people. The code:

  16. Prikaži ovu nit
  17. 12. sij
  18. 11. sij
  19. 8. sij
    Odgovor korisniku/ci

    I love the ! Thx for your work.

  20. 22. velj 2017.

Čini se da učitavanje traje već neko vrijeme.

Twitter je možda preopterećen ili ima kratkotrajnih poteškoća u radu. Pokušajte ponovno ili potražite dodatne informacije u odjeljku Status Twittera.