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 9161819
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 17, 20262026-06-17T14:03:37+00:00 2026-06-17T14:03:37+00:00

I have this css code which is only supported in Firefox. /* Green header

  • 0

I have this css code which is only supported in Firefox.

/* Green header */
.container {
    background: linear-gradient(#5FA309, #3B8018);
    position: relative;
    display: inline-block;
    padding: 0 20px 0 10px;
    width: 270px;
    line-height: 20px;
    font-size: 12px;
    font-family: sans-serif;
    text-shadow: 0 1px 0 #264400;
    font-weight: bold;
    color: #fff;
}

.container:after {
    content: '';
    background: linear-gradient(top left, #5FA309, #3B8018);
    background: -webkit-gradient(linear, left top, left bottom, from(#5FA309), to(#3B8018));
    background: -moz-linear-gradient(top left,  #5FA309,  #3B8018);
    position: absolute;
    top: 3px; right: -7px;
    width: 15px;
    height: 15px;
    transform: rotate(45deg);
}

How I can make this code also supported on IE? I want to use only css without images.

  • 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-06-17T14:03:39+00:00Added an answer on June 17, 2026 at 2:03 pm

    Note the use of the -ms- vendor prefix and the order in which vendor prefixes are set:

    .container{
        background:-webkit-gradient(linear, left top, left bottom, color-stop(0, #5fa309), color-stop(1, #3b8018));
        background:-webkit-linear-gradient(top, #5fa309 0%, #3b8018 100%);
        background:-moz-linear-gradient(top, #5fa309 0%, #3b8018 100%);
        background:-o-linear-gradient(top, #5fa309 0%, #3b8018 100%);
        background:-ms-linear-gradient(top, #5fa309 0%, #3b8018 100%);
        background:linear-gradient(top, #5fa309 0%, #3b8018 100%);
        position:relative;
        display:inline-block;
        padding:0 20px 0 10px;
        width:270px;
        line-height:20px;
        font-size:12px;
        font-family:sans-serif;
        text-shadow:0 1px 0 #264400;
        font-weight:bold;
        color:#fff
    }
    .container:after{
        content:'';
        background:-webkit-gradient(linear, left top, right bottom, color-stop(0, #5fa309), color-stop(1, #3b8018));
        background:-webkit-linear-gradient(top left, #5fa309 0%, #3b8018 100%);
        background:-moz-linear-gradient(top left, #5fa309 0%, #3b8018 100%);
        background:-o-linear-gradient(top left, #5fa309 0%, #3b8018 100%);
        background:-ms-linear-gradient(top left, #5fa309 0%, #3b8018 100%);
        background:linear-gradient(top left, #5fa309 0%, #3b8018 100%);
        position:absolute;
        top:3px;
        right:-7px;
        width:15px;
        height:15px;
        -webkit-transform:rotate(45deg);
        -moz-transform:rotate(45deg);
        -o-transform:rotate(45deg);
        -ms-transform:rotate(45deg);
        transform:rotate(45deg)
    }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

i have this css code, and i want to shorten it. #one{ background: #6cab26;
I have this code snippet: $(function() { $('.toolbar [id^=button]').on('click', function () { $(this) .css('background-color',
I have this background, the css code is: body { background: #FFF url('images/bg.png') no-repeat
I have this code: var originalBorder = container.css("border"); container.hover(function(event) { event.stopPropagation(); $(this).css("border", "1px solid
i have this CSS code: h1 { font-size:22px; color:#341C12; font-weight:normal; font-style:italic; } .h1color h1{
I have this code: $(div[id^='intCell']).mouseover(function() { $(this).css({ border:,1px solid #ff097c}); }).mouseout(function() { $(this).css({border:,1px solid
i have this code: $('.access a').toggle(function() { $('link').attr('href', 'styles/accessstyles.css'); $('body').css('font-size', '16px'); }, function() {
I have this CSS. the property FILTER In class .crumb make my background and
So I have this code: $(document).ready(function() { $(document).keypress(function(e) { switch(e.which) { // user presses
I have this code which gives me the below output in firebug, so according

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.