css 橙色到几乎红BG-button.css

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了css 橙色到几乎红BG-button.css相关的知识,希望对你有一定的参考价值。

.bg {
  background: rgba(255,128,0,1);
  background: -moz-linear-gradient(left, rgba(255,128,0,1) 0%, rgba(250,42,42,1) 100%);
  background: -webkit-gradient(left top, right top, color-stop(0%, rgba(255,128,0,1)), color-stop(100%, rgba(250,42,42,1)));
  background: -webkit-linear-gradient(left, rgba(255,128,0,1) 0%, rgba(250,42,42,1) 100%);
  background: -o-linear-gradient(left, rgba(255,128,0,1) 0%, rgba(250,42,42,1) 100%);
  background: -ms-linear-gradient(left, rgba(255,128,0,1) 0%, rgba(250,42,42,1) 100%);
  background: linear-gradient(to right, rgba(255,128,0,1) 0%, rgba(250,42,42,1) 100%);
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ff8000', endColorstr='#fa2a2a', GradientType=1 );
}

.bg2 {
   background: #f93;
    background: -moz-linear-gradient(left, #f93 0%, #fa5c5c 100%);
    background: -webkit-gradient(left top, right top, color-stop(0%, #f93), color-stop(100%, #fa5c5c));
    background: -webkit-linear-gradient(left, #f93 0%, #fa5c5c 100%);
    background: -o-linear-gradient(left, #f93 0%, #fa5c5c 100%);
    background: -ms-linear-gradient(left, #f93 0%, #fa5c5c 100%);
    background: linear-gradient(to right, #f93 0%, #fa5c5c 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ff9933', endColorstr='#fa5c5c', GradientType=1 )
}

以上是关于css 橙色到几乎红BG-button.css的主要内容,如果未能解决你的问题,请参考以下文章

pom变成红橙色

css颜色

CSS Drupal CSS橙色消息

HTML+CSS代码橙色导航菜单

CSS3橙色的星球绕轨道公转动画

CSS:悬停颜色错误