CSS鼠标悬停整体放大

[css]

/*例子1*/

.promo-banner1 {transition: transform .2s; }
.promo-banner1:hover{transform: scale(1.05); }

/*或者*/

/*例子2*/

.promo-banner2 {transition: all 0.4s ease-in-out 0s, visibility 0s; }
.promo-banner2:hover{transform: scale(1.05); }

[/css]

例子1

例子2