我需要的文本,一旦你悬停它出现在图像,并且还我需要它影响的不透明度。elemnt:悬停 - 文本和背景
看一看这支笔http://codepen.io/anon/pen/NNBgbQ
<div class="flex-menu">
<div class="menu-container">
<img class="menu-image" src="http://www.libbyroach.ca/wp-content/uploads/2014/11/Adams-Sandwich.jpg" alt="Sandwitch">
<div class="menu-description">
<h4>Sandwitch</h4>
<p>Powder marshmallow marshmallow brownie carrot cake candy bonbon. Sweet sugar plum gummies caramels tart carrot cake tiramisu cheesecake. Cheesecake biscuit jelly beans. Jelly-o icing chocolate macaroon. </p>
</div>
</div>
</div>
结果我要找:
鼠标悬停,图像改变其不透明度和文字出现在它的中间 - 任何文本,而不是必要的当前标题和段落。
谢谢你们,这两种方法都按要求工作。 – Vlad