【圆图 圆角图 拇指像放大】

来源: 弓尒 2017-03-11 07:01:03 [] [博客] [旧帖] [给我悄悄话] 本文已被阅读: 次 (3124 bytes)
本文内容已被 [ 弓尒 ] 在 2017-03-11 07:02:46 编辑过。如有问题,请报告版主或论坛管理删除.
回答: 【中国金唱片奖 1989】弓尒2017-03-05 17:26:03

Circular Images, Equal Height and Width

==============

Oval Images, Unequal Height and Width

=========

Rounded Corner Images

==========

/**THE SAME CSS IS USED IN ALL 3 DEMOS**/ /**gallery margins**/ ul.gallery{ margin-left: 3vw; margin-right:3vw; } .zoom { -webkit-transition: all 0.35s ease-in-out; -moz-transition: all 0.35s ease-in-out; transition: all 0.35s ease-in-out; cursor: -webkit-zoom-in; cursor: -moz-zoom-in; cursor: zoom-in; } .zoom:hover, .zoom:active, .zoom:focus { /**adjust scale to desired size, add browser prefixes**/ -ms-transform: scale(2.5); -moz-transform: scale(2.5); -webkit-transform: scale(2.5); -o-transform: scale(2.5); transform: scale(2.5); position:relative; z-index:100; } /**To keep upscaled images visible on mobile, increase left & right margins a bit**/ @media only screen and (max-width: 768px) { ul.gallery { margin-left: 15vw; margin-right: 15vw; } /**TIP: Easy escape for touch screens, give gallery's parent container a cursor: pointer.**/ .DivName {cursor: pointer} }

Thumbnail Images

=======

所有跟帖: 

【上帖的代码 尝试】 -弓尒- 给 弓尒 发送悄悄话 弓尒 的博客首页 (2890 bytes) () 03/11/2017 postreply 07:05:03

加跟帖:

  • 标题:
  • 内容(可选项): [所见即所得|预览模式] [HTML源代码] [如何上传图片] [怎样发视频] [如何贴音乐]