Background position from right in percentage - HTML CSS CSS Property

HTML CSS examples for CSS Property:background-repeat

Description

Background position from right in percentage

Demo Code

ResultView the demo in separate window

<html>
 <head> 
  <meta name="viewport" content="width=device-width, initial-scale=1"> 
  <style id="compiled-css" type="text/css">
div {<!--  ww w. jav a  2  s  .  co m-->
   position:absolute;
   top:0;
   left:0;
   bottom:0;
   right:0;
   background-image:url('https://www.java2s.com/style/demo/Google-Chrome.png');
   background-size:auto 21%;
   background-position:91% 51% ;
   background-repeat:no-repeat;
}
</style> 
 </head> 
 <body> 
  <div></div>  
 </body>
</html>

Related Tutorials