Show newer

Opposing corner radial gradients look softer than angled linear gradients:

background-image:
radial-gradient(
circle at top right,
cyan, transparent
),
radial-gradient(
circle at bottom left,
deeppink, transparent
)
;
play
codepen.io/argyleink/pen/ExKyM

Have u ever wondered why ur gradients look different in a browser than in your graphics tool? Especially when resizing it. Well, I did, and I got really frustrated, so I wrote an article about how gradients behave in CSS compared to @figmadesign / @sketch.
9elements.com/blog/gradient-an

We’re making progress on our tool – the user experience has been dramatically improved and it now works equally well on desktops and touch devices.
We’re now working on the UI, which will help to find problems with CSS selector ordering and more.

Re @KowaleczkoMatt Totally, Javascript is way better.. 🙊

What is the width of this div?
div {
min-width: 40rem;
max-width: 20rem;
width: 30rem;
}

CSS is FULL of functions!

  • color
  • gradients
  • values like attr() & url()
  • math
  • grid
  • pseudo selectors
  • animation functions, i.e. cubic-bezier(), steps()
  • shapes, i.e. polygon()
  • sizing, i.e. scale()
    Hear about these & more in today’s #CSSPodcast
    https://pod.link/thecsspodcast/episode/N2EzMGE4YmYtYjJlNS00ZjE4LTk2MmItNDI2N2RjZTM5OTAx
Show older
小森林

每个人都有属于自己的一片森林,也许我们从来不曾走过,但它一直在那里,总会在那里。迷失的人迷失了,相逢的人会再相逢。愿这里,成为属于你的小森林。