Browse Source

Listing 4.23: styling separate divs.

Frederic G. MARAND 9 years ago
parent
commit
fced20814b
1 changed files with 3 additions and 0 deletions
  1. 3 0
      Chapter 4/04.js

+ 3 - 0
Chapter 4/04.js

@@ -50,4 +50,7 @@ $(document).ready(function () {
       .slideDown('slow')
     ;
   });
+
+  $('p').eq(2).css('border', '1px solide #333');
+  $('p').eq(3).css('background-color', '#ccc').hide();
 });