2014-07-22 269 views

回答

2

JSFIDDLE

你只需添加text-align:centercontainer_image

同样的<a>标签,做出类似以下的<a>标签的一些风格变化:

.container_image a { 
    margin-top: 5px; 
    display: block; 
    -webkit-transition: all 0.5s ease-out; -moz-transition: all 0.5s ease-out; -o-transition: all 0.5s ease-out; transition: all 0.5s ease-out; 
    text-align:center; 
    visibility:hidden; 
    opacity:0; 
} 
.container_image:hover a { 
    visibility:visible; 
    opacity:1; 
} 
+0

是的,像这样的东西,但我的意思是' Goro

+0

@Goro请再次检查我的更新小提琴,谢谢 – Husen

+0

是的,这是完美的。我会做出一些改变,但是我需要的。谢谢! – Goro