Tag Archives: Combinator

Sibling combinator in CSS

Sibling combinator in CSS

There could also be some confusion as what we’re calling sibling. So, let’s first get that out of the way in which. See the beneath code: <!DOCTYPE html> <html lang=”en”> <head> <meta charset=”UTF-8″> <meta http-equiv=”X-UA-Suitable” content material=”IE=edge”> <meta title=”viewport” content material=”width=device-width, initial-scale=1.0″> <title>sibling combinator</title> </head> <physique> <div class=”div1″> <h2>1st Heading</h2> </div> <div class=”div2″> <p>Lorem ipsum…

Read More