for my web project is importent, that the width of my div was equal to hight, not vice versa, becouse height is relative and set to 80%. Something like:
.key{
position: relative;
display: inline-block;
height: 80%;
width: *height*;
border: none;
cursor: pointer;
}
Thank's for help.