Skip to content
This repository
Fetching contributors…

Octocat-spinner-32-eaf2f5

Cannot retrieve contributors at this time

file 107 lines (92 sloc) 2.904 kb
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107
<!DOCTYPE html>

<html>
<head>

    <style type="text/css">

        html, body {
            font: 12px sans-serif;
        }

        .tester {
            behavior: url(../build/PIE_uncompressed.htc);
        }

        #test1 {
            float: left;
            padding: 2em;
            border-radius: 8px;
            background: #F99;
        }
        #test1:hover {
            background: #9F9;
        }

        #test2 {
            float: left;
            clear: left;
            padding: 2em;
            margin-top: 3em;
            background: #F99;
            border-radius: 8px;
        }
        #test2:hover,
        #test2.pie_hover {
            background: #9F9;
        }


        /* Menu */
        #menu {
            clear: both;
            padding: 20px 20px 20px 0;
            width: 220px;
            background: #00AEEF;
        }
        #menu li {
            display: block;
            list-style: none;
            margin: 0 0 6px;
            padding: 0;
            width: 220px;
        }
        #menu li a {
            color: #FFFFFF;
            display: block;
            font-size: 15px;
            padding: 2px 20px 1px;
            position: relative;
            text-decoration: none;
            behavior: url(../build/PIE_uncompressed.htc);
        }
        #menu li a:hover,
        #menu li a.pie_hover {
            /*background: #008ECF;*/
            background: -webkit-gradient(linear, 0 0, 100% 0, from(#008ECF) to(#00AEEF));
            background: -moz-linear-gradient(left, #008ECF, #00AEEF);
            background: linear-gradient(left, #008ECF, #00AEEF);
            -pie-background: linear-gradient(left, #008ECF, #00AEEF);
        }
        #menu li.active a {
            background: #FFF;
            -pie-background: #FFF;
            color: #000;
            -webkit-box-shadow: #777 0 0 10px;
            -moz-box-shadow: #777 0 0 10px;
            box-shadow: #777 0 0 10px;
            -webkit-border-top-right-radius: 3px;
            -webkit-border-bottom-right-radius: 3px;
            -moz-border-radius: 0 3px 3px 0;
            border-radius: 0 3px 3px 0;
        }

    </style>

</head>
<body>

    <p>
        <a href="#" class="tester" id="test1">Link</a>
    </p>

    <div class="tester" id="test2">Non-link</div>

    <ul id="menu"><li><a href="http://css3pie.com/">Home</a></li>
        <li><a href="http://css3pie.com/about/">About</a></li>
        <li><a href="http://css3pie.com/documentation/">Documentation</a></li>
        <li><a href="http://css3pie.com/demos/">Demos</a></li>
        <li><a href="http://css3pie.com/contact/">Contact</a></li>
        <li><a href="http://css3pie.com/forum/">User Forum</a></li>
        <li class="active"><a href="http://css3pie.com/blog/">Blog</a></li>
        <li><a href="http://github.com/lojjic/PIE">Project @ GitHub</a></li>
    </ul>
    

</body>
</html>
Something went wrong with that request. Please try again.