Answers for "url in css"

CSS
124

css background image

background-image: url("image.png");
background-position: center;
background-repeat: no-repeat;
background-size: cover;
Posted by: Guest on April-07-2020
-1

how to add image with url in css

background-image: url('images/my-image.png');
Posted by: Guest on June-20-2020
1

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;
Posted by: Guest on May-22-2021

Browse Popular Code Answers by Language