mirror of
https://github.com/jquery/jquery-ui.git
synced 2024-11-21 11:04:24 +00:00
Class animation demos: Don't chain id and class selectors together in CSS since IE6 doesn't understand chained rules.
This commit is contained in:
parent
4ad7154bee
commit
bf947d1756
@ -11,7 +11,7 @@
|
||||
.toggler { width: 500px; height: 200px; position: relative;}
|
||||
#button { padding: .5em 1em; text-decoration: none; }
|
||||
#effect { width: 240px; padding: 1em; font-size: 1.2em; border: 1px solid #000; background: #eee; color: #333; }
|
||||
#effect.newClass { text-indent: 40px; letter-spacing: .4em; width: 410px; height: 100px; padding: 30px; margin: 10px; font-size: 1.6em; }
|
||||
.newClass { text-indent: 40px; letter-spacing: .4em; width: 410px; height: 100px; padding: 30px; margin: 10px; font-size: 1.6em; }
|
||||
</style>
|
||||
<script type="text/javascript">
|
||||
$(function() {
|
||||
|
@ -11,7 +11,7 @@
|
||||
.toggler { width: 500px; height: 200px; position: relative;}
|
||||
#button { padding: .5em 1em; text-decoration: none; }
|
||||
#effect {position: relative; width: 240px; padding: 1em; letter-spacing: 0; font-size: 1.2em; border: 1px solid #000; background: #eee; color: #333; }
|
||||
#effect.newClass { text-indent: 40px; letter-spacing: .4em; width: 410px; height: 100px; padding: 30px; margin: 10px; font-size: 1.6em; }
|
||||
.newClass { text-indent: 40px; letter-spacing: .4em; width: 410px; height: 100px; padding: 30px; margin: 10px; font-size: 1.6em; }
|
||||
</style>
|
||||
<script type="text/javascript">
|
||||
$(function() {
|
||||
|
@ -11,8 +11,8 @@
|
||||
.toggler { width: 500px; height: 200px; position: relative;}
|
||||
#button { padding: .5em 1em; text-decoration: none; }
|
||||
#effect {position: relative; }
|
||||
#effect.newClass { width: 240px; padding: 1em; letter-spacing: 0; font-size: 1.2em; }
|
||||
#effect.anotherNewClass { text-indent: 40px; letter-spacing: .4em; width: 410px; height: 100px; padding: 30px; margin: 10px; font-size: 1.6em; }
|
||||
.newClass { width: 240px; padding: 1em; letter-spacing: 0; font-size: 1.2em; margin: 0; }
|
||||
.anotherNewClass { text-indent: 40px; letter-spacing: .4em; width: 410px; height: 100px; padding: 30px; margin: 10px; font-size: 1.6em; }
|
||||
</style>
|
||||
<script type="text/javascript">
|
||||
$(function() {
|
||||
|
@ -11,7 +11,7 @@
|
||||
.toggler { width: 500px; height: 200px; position: relative;}
|
||||
#button { padding: .5em 1em; text-decoration: none; }
|
||||
#effect {position: relative; width: 240px; padding: 1em; letter-spacing: 0; font-size: 1.2em; border: 1px solid #000; background: #eee; color: #333; }
|
||||
#effect.newClass { text-indent: 40px; letter-spacing: .4em; width: 410px; height: 100px; padding: 30px; margin: 10px; font-size: 1.6em; }
|
||||
.newClass { text-indent: 40px; letter-spacing: .4em; width: 410px; height: 100px; padding: 30px; margin: 10px; font-size: 1.6em; }
|
||||
</style>
|
||||
<script type="text/javascript">
|
||||
$(function() {
|
||||
|
Loading…
Reference in New Issue
Block a user