0

我有一个登录页面,中间有登录字段,在 . 如何创建此表的反射效果?我想在这个广场下有一个有点距离的另一个,就像它一样,但只显示背景,而不是控件。所以我试图在它下面再做一张桌子,但我只想展示它的 10%。这可以做到吗?

据我所知,已经尝试过渐变,但看起来不太好:

 <table>
      <tr>
        <td align="center" valign="top">
           <table>
              <tbody>
                  <tr>
                     <td class="loginContent">
                         <asp:ContentPlaceHolder runat="server" ID="rightContent">
                         </asp:ContentPlaceHolder>
                     </td>
                  </tr>
                  <tr class="lineBreak15">
                  </tr>
                  <tr>
                     <td class="loginContentReflection">
                     </td>
                  </tr>
              </tbody>
           </table>
        </td>
      </tr>
    </table>


.loginContent 
{
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    border-radius: 10px;
    width: 500px;
    height: 300px;
    background-color: #f08409;
}
.loginContentReflection 
{
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    border-radius: 10px;
    width: 500px;
    height: 50px;
    /* IE9 SVG, needs conditional override of 'filter' to 'none' */
    background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIwJSIgeTI9IjEwMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iI2ZmY2MwMiIgc3RvcC1vcGFjaXR5PSIwLjMiLz4KICAgIDxzdG9wIG9mZnNldD0iMjglIiBzdG9wLWNvbG9yPSIjZjhkMzQwIiBzdG9wLW9wYWNpdHk9IjAuMyIvPgogICAgPHN0b3Agb2Zmc2V0PSI4NCUiIHN0b3AtY29sb3I9IiNlOWUwYmIiIHN0b3Atb3BhY2l0eT0iMCIvPgogICAgPHN0b3Agb2Zmc2V0PSIxMDAlIiBzdG9wLWNvbG9yPSIjZTVlNGRlIiBzdG9wLW9wYWNpdHk9IjAiLz4KICA8L2xpbmVhckdyYWRpZW50PgogIDxyZWN0IHg9IjAiIHk9IjAiIHdpZHRoPSIxIiBoZWlnaHQ9IjEiIGZpbGw9InVybCgjZ3JhZC11Y2dnLWdlbmVyYXRlZCkiIC8+Cjwvc3ZnPg==);
    background: -moz-linear-gradient(top,  rgba(255,204,2,0.3) 0%, rgba(248,211,64,0.3) 28%, rgba(233,224,187,0) 84%, rgba(229,228,222,0) 100%); /* FF3.6+ */
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(255,204,2,0.3)), color-stop(28%,rgba(248,211,64,0.3)), color-stop(84%,rgba(233,224,187,0)), color-stop(100%,rgba(229,228,222,0))); /* Chrome,Safari4+ */
    background: -webkit-linear-gradient(top,  rgba(255,204,2,0.3) 0%,rgba(248,211,64,0.3) 28%,rgba(233,224,187,0) 84%,rgba(229,228,222,0) 100%); /* Chrome10+,Safari5.1+ */
    background: -o-linear-gradient(top,  rgba(255,204,2,0.3) 0%,rgba(248,211,64,0.3) 28%,rgba(233,224,187,0) 84%,rgba(229,228,222,0) 100%); /* Opera 11.10+ */
    background: -ms-linear-gradient(top,  rgba(255,204,2,0.3) 0%,rgba(248,211,64,0.3) 28%,rgba(233,224,187,0) 84%,rgba(229,228,222,0) 100%); /* IE10+ */
    background: linear-gradient(to bottom,  rgba(255,204,2,0.3) 0%,rgba(248,211,64,0.3) 28%,rgba(233,224,187,0) 84%,rgba(229,228,222,0) 100%); /* W3C */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#4dffcc02', endColorstr='#00e5e4de',GradientType=0 ); /* IE6-8 */

    }

Capistrano 资产预编译错误

当我使用 capistrano 推送到我的生产服务器时,我收到此错误:

executing "cd /var/www/my_app/releases/20120731082050 && bundle exec rake RAILS_ENV=production RAILS_GROUPS=assets assets:precompile"
servers: ["my_app.com"]
[my_app.com] executing command
*** [err :: my_app.com] /usr/bin/ruby1.9.1 /var/www/my_app/shared/bundle/ruby/1.9.1/bin/rake assets:precompile:nondigest RAILS_ENV=production RAILS_GROUPS=assets
*** [err :: my_app.com] 
command finished in 74149ms

尽管出现错误,预编译仍然有效。我试过跑步

cd /var/www/my_app/releases/20120731082050 && bundle exec rake RAILS_ENV=production RAILS_GROUPS=assets assets:precompile 

在服务器上它可以工作,但它会将其打印到控制台:

/usr/bin/ruby1.9.1 /var/www/my_app/shared/bundle/ruby/1.9.1/bin/rake assets:precompile:nondigest RAILS_ENV=production RAILS_GROUPS=assets

与 capistrano 输出相匹配(注意在原始调用中添加了“nondigest”。我知道这不是致命错误,因为它仍然有效,但我将如何阻止它打印此错误?

4

0 回答 0