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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 2, 20262026-06-02T18:14:17+00:00 2026-06-02T18:14:17+00:00

jsFiddle sample I’m looking for the most hipster way to reduce the HTML semantics

  • 0

enter image description here
jsFiddle sample

I’m looking for the most hipster way to reduce the HTML semantics (css can be big as necessary) this 4 color logo without using pictures anything can change in the structure. Only requirement is that it works in IE8. I am using selectivr and modernizr so most selector classes and such should work. Additionally, I’m using less css so if you can write like that too.

  <ul class="logo">
    <li class="webBG"></li>
    <li class="designBG"></li>
    <li class="videoBG"></li>
    <li class="audioBG"></li>
  </ul>

CSS

ul.logo{margin: 0 0 0 10px;padding: 0;list-style-type: none;}
ul.logo li{display: inline-block; width:5px;height:5px; padding:0;margin:0; float:left;}
.designBG{background:#00c8e8}
.videoBG{background:#33cc77}
.webBG{background:#ec8544}
.audioBG{background:#E58}

UPDATE FINAL SOLUTION

#boilerplate > div{
margin-left:10px;

width:20px;
height:5px;

/*cross browser definitions follow..*/
background-image: -o-linear-gradient(left,
                        #ec8544 0%, #ec8544 25%,
                        #00c8e8 26%, #00c8e8 50%,
                        #33cc77 51%, #33cc77 75%,
                        #Ee5588 76%, #Ee5588 100%);
background-image: -moz-linear-gradient(left,
                        #ec8544 0%, #ec8544 25%,
                        #00c8e8 26%, #00c8e8 50%,
                        #33cc77 51%, #33cc77 75%,
                        #Ee5588 76%, #Ee5588 100%);
background-image: -webkit-linear-gradient(left,
                        #ec8544 0%, #ec8544 25%,
                        #00c8e8 26%, #00c8e8 50%,
                        #33cc77 51%, #33cc77 75%,
                        #Ee5588 76%, #Ee5588 100%);
background-image: -ms-linear-gradient(left,
                        #ec8544 0%, #ec8544 25%,
                        #00c8e8 26%, #00c8e8 50%,
                        #33cc77 51%, #33cc77 75%,
                        #Ee5588 76%, #Ee5588 100%);
background-image: linear-gradient(left,
                        #ec8544 0%, #ec8544 25%,
                        #00c8e8 26%, #00c8e8 50%,
                        #33cc77 51%, #33cc77 75%,
                        #Ee5588 76%, #Ee5588 100%);

}​

HTML

<div></div>
  • 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-02T18:14:20+00:00Added an answer on June 2, 2026 at 6:14 pm

    least html possible:

    http://jsfiddle.net/VRXjc/7/

    1. Create 1 div

    2. Use CSS Gradients to make the colors

    3. Set Margins, Height and Width to style

    HTML:

    <div id="logo"></div>
    

    CSS:

    #logo{
    background: #ec8544; /* Old browsers */
    background: -moz-linear-gradient(left,  #ec8544 25%, #00c8e8 25%, #00c8e8 50%, #33cc77 50%, #33cc77 75%, #ee5588 75%); /* FF3.6+ */
    background: -webkit-gradient(linear, left top, right top, color-stop(25%,#ec8544), color-stop(25%,#00c8e8), color-stop(50%,#00c8e8), color-stop(50%,#33cc77), color-stop(75%,#33cc77), color-stop(75%,#ee5588)); /* Chrome,Safari4+ */
    background: -webkit-linear-gradient(left,  #ec8544 25%,#00c8e8 25%,#00c8e8 50%,#33cc77 50%,#33cc77 75%,#ee5588 75%); /* Chrome10+,Safari5.1+ */
    background: -o-linear-gradient(left,  #ec8544 25%,#00c8e8 25%,#00c8e8 50%,#33cc77 50%,#33cc77 75%,#ee5588 75%); /* Opera 11.10+ */
    background: -ms-linear-gradient(left,  #ec8544 25%,#00c8e8 25%,#00c8e8 50%,#33cc77 50%,#33cc77 75%,#ee5588 75%); /* IE10+ */
    background: linear-gradient(left,  #ec8544 25%,#00c8e8 25%,#00c8e8 50%,#33cc77 50%,#33cc77 75%,#ee5588 75%); /* W3C */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ec8544', endColorstr='#ee5588',GradientType=1 ); /* IE6-9 */
    margin: 0px 0px 0px 15px;
    width:20px;
    height:5px;
    }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

here is the sample: http://jsfiddle.net/Zg55k/ How can I change css background image and color
Is there any way to keep this simple JQuery animation from flashing? http://jsfiddle.net/v3DVf/6/
http://jsfiddle.net/zUAQC/11/ In this sample, In javascipt box's sampleDiv,I add the next input checkbox .
Here's the sample/jsFiddle: http://jsfiddle.net/antonpug/ub7xW/ Basically, you can't see it in the jsFiddle, I don't
Sample HTML/CSS: <div class=container> <input type=text /> <div class=filler></div> </div> div.container { padding: 5px;
I'm building a page with this font, see here: jsfiddle sample The font is
look at this jsFIDDLE sample i want to change the cell background color for
Here is a sample fiddle: http://jsfiddle.net/K2zyU/4/ The problem I am experiencing is that the
http://jsfiddle.net/SXrAb/ Following the jsfiddle link there is a simplified sample of what I need.
The following code sample (also at http://jsfiddle.net/MZwBS/ ) var items = []; items.push({ example:

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.