Team:NYMU-Taipei/gallery.css

From 2014.igem.org

Revision as of 05:02, 31 July 2014 by Hiwang123 (Talk | contribs)

.main-img{

  height: 360px;
  width: 660px;
  border: solid 1px;
  margin: 10px auto;
  white-space: nowrap;
  overflow:hidden;
  position:relative;

}

.g-thumb{

  text-align:center;

}

.g-thumb>img{

  width: 60px;
  height: 60px;
  margin: 5px auto;

}

.main-img>div{

  height: 100%;
  width: 100%;
  position:absolute;

}

  1. g-left{
  width: 40px;
  height: 40px;
  position: absolute;
  background: gray;
  right: 0;
  top: 45%;
  z-index:5;

}

  1. g-right{
  width: 40px;
  height: 40px;
  position: absolute;
  background: gray;
  left: 0;
  top: 45%;
  z-index: 5;

}