Jump to content

User:Pjoef/vector.css

From Wikipedia, the free encyclopedia
Note: After saving, you have to bypass your browser's cache to see the changes. Google Chrome, Firefox, Microsoft Edge and Safari: Hold down the ⇧ Shift key and click the Reload toolbar button. For details and instructions about other browsers, see Wikipedia:Bypass your cache.
div.transition4ben
{ width: 120px;
  height: 120px;
  background: yellow;
  font-size: 14px;
  text-align: center;
  line-height: 16px;
  padding: 14px;
  transition: width 2s, height 2s, background 2s, font-size 2s, line-height 2s;
  -moz-transition: width 2s, height 2s, background 2s, font-size 2s, line-height 2s, -moz-transform 2s;
  -webkit-transition: width 2s, height 2s, background 2s, font-size 2s, line-height 2s, -webkit-transform 2s;
  -o-transition: width 2s, height 2s, background 2s, font-size 2s, line-height 2s, -o-transform 2s;
}

div.transition4ben:hover
{ width: 324px;
  height: 324px;
  background: #ff2400;
  font-size: 44px;
  line-height: 46px;
  transform: rotate(180deg);
  -moz-transform: rotate(180deg);
  -webkit-transform: rotate(180deg);
  -o-transform: rotate(180deg);
}