【发布时间】:2016-10-11 12:02:33
【问题描述】:
我试图在 div 上设置不透明度,但它没有按预期工作。
https://jsfiddle.net/std0tgsy/1/
HTML
<div class="col-lg-offset-4 col-lg-3 col-md-6 col-sm-12 col-xs-12 haveaccount" style="opacity: 2;text-align: center;" >
<h2>JOIN US AT START HERE, GO PLACES.</h2>
<p>Sign up here, create your account, and we'll follow up with you to complete your profile. You'll
<br> have access to our tools and can expect to receive some
<br> freebies along the way, Welcome!</p>
【问题讨论】:
-
你期待什么??
-
不透明度从 0-1 运行。
opacity: 2无效 -
更改值,我看没有区别。
标签: html css twitter-bootstrap