Skip to content

Instantly share code, notes, and snippets.

@anupamchugh
Created June 8, 2022 06:22
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save anupamchugh/87a29ed400e24219c417d1ff73c7c245 to your computer and use it in GitHub Desktop.
Save anupamchugh/87a29ed400e24219c417d1ff73c7c245 to your computer and use it in GitHub Desktop.
ZStack{
Circle().fill(.red.gradient.shadow(.drop(color: .black, radius: 10)).shadow(.inner(radius: 10)))
.frame(width: 150, height: 150)
Image(systemName: "swift")
.resizable()
.aspectRatio(contentMode: .fit)
.frame(width: 75, height: 75)
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment