图片库中的文字 html css javascript

Text on image gallary html css javascript

我不能这样做 ![画廊的标题][1]

我想做什么 点击下图 [https://drive.google.com/file/d/0B1SQD1vg0T6ibEFxS09nXzZTUFU/view?usp=sharing]

link 下面是我所做的.... https://drive.google.com/file/d/0B1SQD1vg0T6iSU4xWTUzNVY0Q3c/view?usp=sharing

这就是你想要的东西,就像你的例子一样。

首先从第 134,138 行和第 143 行删除 .cd-intro classes。

现在在第 125 行用以下内容替换 class。

.cd-intro
{
  background-color:black;
  color:#fff;
  font-family:"Lato",sans-serif;
  height:100%;
  opacity:0.8;
  overflow:visible;
  padding-top:90px; 
  position:absolute;
  text-align:center; 
  top:0;
  width:100%;
}

您需要根据要求调整padding-top