I have a HTML code like this:
<html>
<head>
<style>
img.settings {
    hight: 100px;
    width: 20px;
}
div.settings {
    position: fixed;
    left: 0px;
    top: 0px;
    right: 100%;
    bottom: 0px;
    background-color: #000000;
}
</style>
</head>
<body>
<div class="head">
    <img class="settings" src="settings.png" />
</div>
<div class="settings"></div>
</body>
</html>
I want the div#settings property  right: 100%; to be changed to right: 50%; if I click on the image. In other word I want the <div> to be shown/hidden by clicking the image. Is it possible by (only) css?
 
     
     
     
    