css url code example
Example 1: how to add image with url in css
background-image: url('images/my-image.png');
Example 2: url css
/* Import a style sheet */
@import url("https://www.example.com/style.css");
/* Import a font */
@import url("https://fonts.googleapis.com/css2?family=Roboto&display=swap");
font-family: 'Roboto', sans-serif;
/* Use an image in background */
background: url("https://mdn.mozillademos.org/files/16761/star.gif") bottom right repeat-x blue;