Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7181613
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 28, 20262026-05-28T17:35:39+00:00 2026-05-28T17:35:39+00:00

Our designer created a mockup of our frontend using HTML and CSS. However, when

  • 0

Our designer created a mockup of our frontend using HTML and CSS. However, when I copy the code to my rails app, some of it is not working properly.

Below is the CSS that is failing:

#login h1 {

  font-size:17px;
  color:#fff;
  text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.7);
  padding:5px 12px;
  margin-bottom:0;
  background-image: linear-gradient(top, #77659E 35%, #5A4B7A 77%);
  border-top-left-radius: 4px;
  border-top-right-radius: 4px;

}

It’s suppose to show a purple colour as the background but it’s not. My guess is linear-gradient is not getting picked up. Everything else in the CSS seems to work fine.

I’m using Rails 3.1. Any help would be appreciated!

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-28T17:35:40+00:00Added an answer on May 28, 2026 at 5:35 pm

    Your designer is most likely using prefix free, to fix it just add the prefixes:

     background-image: -webkit-linear-gradient(top, #77659E 35%, #5A4B7A 77%);
     background-image: -moz-linear-gradient(top, #77659E 35%, #5A4B7A 77%);
     background-image: linear-gradient(top, #77659E 35%, #5A4B7A 77%);
    

    You will need to use a gradient generator if you want to target IE

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Our rails app is designed as a single code base linking to multiple client
Our designer created this css for links A { text-decoration: underline; color: #E77C15; }
I'm developing a WinForms c# 3.0 application. Our designer created quite a lot of
Our designer created a new banner for a site that's (intentionally) wider than the
We have created an iPhone app which our client wants to show on a
I have a .fla file created by our designer and he has created a
So our designer made some changes to some images, and committed the changes. So
One of our users modified their MOSS MySite using SharePoint designer. Now all newly
Our connectivity to EMS code was initially ill-designed and created one TopicConnection object per
Apologies if the question is not worded appropriately. I've created a dashboard using the

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.