I am using appery.io website's development environment.
I want to put a background image on a circular button.
Button id is: home_btn, and I am using css class for that:
.home{
width: 20px;
height: 20px;
Code: Select all
-moz-border-radius: 40px;
-webkit-border-radius: 40px;
border-radius: 40px;
}
The last three line I have added is to get a circular shape button.
I added the css class to home_btn properties-Class Name.
I have uploaded the image inside SOURCE at :
WEB_RESOURCES-files-resources-image-icon1.png,
I have tried by putting:
Code: Select all
background-image: url("../resources/image/icon1.png") !important;
background-image: url("../files/views/assets/image/icon1.png")!important;
background: url("../files/views/assets/image/icon1.png")!important;
url("..\files\views\assets\image\icon1.png")
url("files/views/assets/image/icon1.png")
url("files\views\assets\image\icon1.png")
inside the home class, none of them is working, can you tell me what ".." represents in the url?
I don't know how to get the path of the file in code so that I can use it in the CSS class using the appery.io development website itself.
Please help!