CSS Property Value How to - background:url no-repeat bottom left;








Question

We would like to know how to background:url no-repeat bottom left;.

Answer


<!DOCTYPE html>
<html>
<head>
<style type='text/css'>
img {<!--from   ww w . j  a v  a 2 s  .  co m-->
  display: block;
  background:url('http://placehold.it/20x20') no-repeat bottom left;
  padding: 93px 100px 75px 100px;
}
</style>
</head>
<body>
  <img src="http://placehold.it/200x200"/>
</body>
</html>

The code above is rendered as follows: