[英]Positioning issue using css
I'm having a hard time to accomplished this: CODEPEN LINK 我很难完成这个: CODEPEN LINK
As you can see in my CODEPEN
sample. 正如您在我的CODEPEN
样本中看到的CODEPEN
。 As you hover the image it shows the IMAGE CAPTION
then if you clicked the image it will show the ACTIVATED IMAGE
(RED BORDERS). 当您将鼠标悬停在图像上时,它会显示IMAGE CAPTION
然后如果您单击图像,它将显示ACTIVATED IMAGE
(红色边框)。 My problem is how can I show the CAPTION
when that image is ACTIVATED
. 我的问题是当图像被ACTIVATED
时如何显示CAPTION
。 I use JQUERY on clicking the image to show the RED BORDERS
when activated. 我在点击图像时使用JQUERY来激活时显示RED BORDERS
。
UPDATE: What I'm trying to do is when its activated it also show the CAPTION onclick just like the RED BORDERS. 更新:我正在尝试做的是当它激活时它也显示CAPTION onclick就像RED BORDERS一样。
Your help is so much appreciated. 非常感谢您的帮助。
Add the following CSS 添加以下CSS
.aboutus .thumb_caption,.leadership .thumb_caption{left: 0;
opacity: 1;}
after doing so the caption should be seen on activated. 在这样做之后,应该在激活时看到标题。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.