Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Wiki Markup
{style}#main {
  background-color:grey;
  height:100px;
  overflow:hidden;
  /*указать фон*/
}
#img{
  width:100px;
  height:100px;
  background-color:#f6f6f6;
  position:relative;
  z-index:1;
}
#text{
  position: relative;
  top:-50px;
  z-index:2;
  width:100px;
  height:0px;
}{style}