Difference between revisions of "Template:CCU Taiwan/css"

Line 1,263: Line 1,263:
 
   display: inline-block;
 
   display: inline-block;
 
}
 
}
 +
 +
.thecard {
 +
  width: 300px;
 +
  margin: 5% auto;
 +
  box-shadow: 0 1px 30px rgba(0,0,0,.4);
 +
  display: block;
 +
  background-color: #fff;
 +
  border-radius: 4px;
 +
  transition: 400ms ease;
 +
}
 +
 +
.card-img {
 +
  height: 225px;
 +
}
 +
 +
.card-img img {
 +
  width:100%;
 +
  border-radius: 4px 4px 0px 0px;
 +
}
 +
  
 
</style>
 
</style>
 
</html>
 
</html>

Revision as of 14:01, 16 October 2018