cssAudio - Activefile-genericCSS - ActiveGeneric - ActiveHTML - ActiveImage - ActiveJS - ActiveSVG - ActiveText - Activefile-genericVideo - ActiveLovehtmlicon-new-collectionicon-personicon-teamlog-outoctocatpop-outspinnerstartv

Pen Settings

CSS Base

Vendor Prefixing

Add External Stylesheets/Pens

Any URL's added here will be added as <link>s in order, and before the CSS in the editor. If you link to another Pen, it will include the CSS from that Pen. If the preprocessor matches, it will attempt to combine them before processing.

Quick-add: + add another resource

Add External Scripts/Pens

Any URL's added here will be added as <script>s in order, and run before the JavaScript in the editor. You can use the URL of any other Pen and it will include the JavaScript from that Pen.

Quick-add: + add another resource

Code Indentation

     

Save Automatically?

If active, Pens will autosave every 30 seconds after being saved once.

Auto-Updating Preview

If enabled, the preview panel updates automatically as you code. If disabled, use the "Run" button to update.

            
              <html>

<head>
    <title>Google Homepage</title>
    <link rel="stylesheet" type="text/css" href="reset.css" />
    <link rel="stylesheet" type="text/css" href="styles.css" />
</head>

<body>
    <div id="container">
        <div id="topbar">
            <ul>
                <li>
                    <a href="#">
                        <!--border-radius: 100% transforms borders into circles-->
                        <img src="https://res.cloudinary.com/wilfredxd/image/upload/v1471790653/blueperson_i3ahzk.png" style="border-radius: 100%" />
                    </a>
                </li>
                <li>
                    <a href="https://plus.google.com/u/0/notifications/all?hl=en">
                        <img src="https://res.cloudinary.com/wilfredxd/image/upload/v1471790653/notification_ucwhun.png" />
                    </a>
                </li>
                <li>
                    <a href="https://www.google.com/intl/en/aboout/products/">
                        <img src="https://res.cloudinary.com/wilfredxd/image/upload/v1471790653/apps_jbdno1.png" />
                    </a>
                </li>
                <li><a href="https://images.google.com/">Images</a></li>
                <li><a href="https://mail.google.com/">Gmail</a></li>
            </ul>
        </div>
        <img style="" id="logo" alt="google" src="https://res.cloudinary.com/wilfredxd/image/upload/v1471790654/google-logo_paxdp8.png" />
        <div id="searchbar">
            <form action="#" method="get">
                <input placeholder="Search Google or type URL" name="search" type="search"></input>
            </form>
        </div>
        <div id="search-options">
            <div class="button">Google Search</div>
            <div class="button">I'm Feeling Lucky</div>
        </div>
        <!-- This tanslates the homepage to different languages -->
        <div id="languages">
          <p>Google.com.sg offered in:
            <span lang="zh-Hans"><a href="https://www.google.com.sg/setprefs?sig=0_MVvFF6P7hiq2LcdXE6wYb8hdQR8%3D&hl=zh-CN&source=homepage"> 中文(简体)</a></span>
            <span lang="ms"><a href="https://www.google.com.sg/setprefs?sig=0_MVvFF6P7hiq2LcdXE6wYb8hdQR8%3D&hl=ms&source=homepage"> Bahasa Melayu</a></span>
            <span lang="ta"><a href="https://www.google.com.sg/setprefs?sig=0_MVvFF6P7hiq2LcdXE6wYb8hdQR8%3D&hl=ta&source=homepage"> தமிழ்</a></span>
          </p>
        </div>
        <div id="bottombar">
            <ul id="bottomright">
                <li><a href="https://www.google.com/preferences">Settings</a></li>
                <li>
                    <a href="https://www.google.com.sg/intl/en/policies/terms/regional.html">
                  Terms
                </a>
                </li>
                <li><a href="https://www.google.com/intl/en/policies/">Privacy</a></li>
            </ul>
            <ul id="bottomleft">
                <li><a href="https://www.google.com/intl/en/about/">About</a></li>
                <li><a href="https://www.google.com/services/">Business</a></li>
                <li><a href="https://www.google.com/intl/en/ads/">Advertising</a></li>
            </ul>
        </div>
    </div>
</body>

</html>
            
          
!
            
              ::-webkit-input-placeholder  { color:#c9c9c9; font-size: 0.73em;} /* Webkit */
:-moz-placeholder { color:#c9c9c9; font-size: 0.73em;}  /* Firefox <= 18 */
::-moz-placeholder { color:#c9c9c9; font-size: 0.73em;}  /* Firefox >= 19 */
:-ms-input-placeholder {  color: #c9c9c9; font-size: 0.73em;} /* Internet Explorer */

body {
    margin: 0 auto;
    padding: 0;
}
#container {
    margin: 10px 0 0 0;
    text-align: center;
}
#topbar {
    margin: 25px 40px 0 0;
}
ul {
    list-style-type: none;
}
li {
    float: right;
    display: block;
    padding: 0 0 0 18px;
}
#topbar ul li {
    font: 12.5px Arial, sans-serif;
}
#topbar ul li:first-child {
    margin-top: -10px;
}
a {
    text-decoration: none;
}
a:hover {
    text-decoration: underline;
}
a:link, a:visited {
    color: black;
}
#bottom a:link, #bottom a:visited {
    color: #666;
}
#logo {
    margin: auto;
    padding: 30px 0 30px 0;
    width: 20em;
    display: block;
    clear: both;
}
#searchbar {
    margin: auto;
}
#searchbar input {
    width: 25em;
    margin: auto;
    padding: 4px 8px 4px 8px;
    border: 1px solid #d5d5d5;
    display: inline-block;
    font-size: 1.35em;
    vertical-align: middle;
}
#search-options {
    margin-top: 10px;
}
.button {
    background-color: #eeeeee;
    font: bold 13.5px/30px Arial, sans-serif!important;
    color: #7a7a7a;
    padding: 3px 10px 3px 10px;
    margin: 20px 2px 10px 2px;
    display: inline-block;
    border-radius: 2px;
}
.button:hover {
    border: 1px solid #cccccc;
    color: black;
}
#searchbar input:hover {
    border: 1px solid #7e7e7e;
}
#languages {
  font: 12px/12px Arial;
  margin: 20px 0 0 0;
}
#languages a:link {
  color:#1a0dab;
}
#languages a:visited {
  color:#609;
}
#bottombar {
    background-color: #f2f2f2;
    border-top: 2px solid #e4e4e4;
    height: 40px;
    clear: both;
    position: relative;
    margin-top: 215px;
    font: 12.5px/40px Arial;
}
#bottombar ul {
    margin-left: 27px margin-top: 5px;
}
#bottomleft {
    float: left;
}
#bottomright {
    margin-right: 27px;
}
            
          
!
999px
Loading ..................

Console