Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    text
    copied!<p>rounded corners and filter don't go together. for IE i always include <a href="http://css3pie.com" rel="nofollow">http://css3pie.com</a> and use it to do border-radius and gradients in IE. a sample css looks like this:</p> <pre><code>.someElement { behavior: url(assets/js/PIE.htc); border-radius: 10px; background: #8cb2d1; background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIwJSIgeTI9IjEwMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iIzhjYjJkMSIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjQyJSIgc3RvcC1jb2xvcj0iIzQwODBiMyIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgPC9saW5lYXJHcmFkaWVudD4KICA8cmVjdCB4PSIwIiB5PSIwIiB3aWR0aD0iMSIgaGVpZ2h0PSIxIiBmaWxsPSJ1cmwoI2dyYWQtdWNnZy1nZW5lcmF0ZWQpIiAvPgo8L3N2Zz4=); background: -moz-linear-gradient(top, #8cb2d1 0%, #4080b3 42%); background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#8cb2d1), color-stop(42%,#4080b3)); background: -webkit-linear-gradient(top, #8cb2d1 0%,#4080b3 42%); background: -o-linear-gradient(top, #8cb2d1 0%,#4080b3 42%); background: -ms-linear-gradient(top, #8cb2d1 0%,#4080b3 42%); background: linear-gradient(top, #8cb2d1 0%,#4080b3 42%); -pie-background: linear-gradient(top, #8cb2d1 0%,#4080b3 42%); } </code></pre> <p>The steps:</p> <ol> <li>include PIE.htc via behavior</li> <li>add border radius as usual (border-radius: 10px;)</li> <li>add the special -pie-background attribute: (-pie-background: linear-gradient(top, #8cb2d1 0%,#4080b3 42%);)</li> </ol>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload