html - Background attribute not working CSS3 -


on site, declaring .menu tag. style in css, used

    .menu {         background:url('images/menu.svg');         background-repeat: no-repeat;         background-size:cover;         background-position:center center;         height:50px;         width:50px;         position:absolute;         top:7px;         left:7px;         transition: .5s cubic-bezier(.67,.99,.48,.96);         z-index:2000;     } 

i expecting menu.svg show up. isn't. why? ps have tried background-image.

if css file , image inside in different folder must code

.menu {     background:url('../images/menu.svg');      background-repeat: no-repeat;     background-size:cover;     background-position:center center;     height:50px;     width:50px;     position:absolute;     top:7px;     left:7px;     transition: .5s cubic-bezier(.67,.99,.48,.96);     z-index:2000; } 

Comments

Popular posts from this blog

java - Plugin org.apache.maven.plugins:maven-install-plugin:2.4 or one of its dependencies could not be resolved -

Round ImageView Android -

How can I utilize Yahoo Weather API in android -