I continue to be impressed with ChatGPT's ability to know about small tasks. Some specs at work wanted text with a gradient, and ChatGPT came up with
.gradient-text {
background: linear-gradient(to right, #ff0000, #0000ff);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
}
giving something like
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Aliquam finibus interdum hendrerit. Proin et suscipit quam, ac feugiat velit. In tristique vel dolor quis egestas. Fusce et metus a lacus tincidunt maximus id sed felis. Sed nec magna ut orci pellentesque interdum. Praesent ut auctor ex, a auctor leo. Sed a eros viverra, luctus risus at, fermentum erat. Nulla nec vestibulum dolor. Nulla posuere molestie est sed scelerisque. Nam ut tortor varius, hendrerit nibh eu, interdum libero.
No comments:
Post a Comment