title: Is it possible to apply CSS on a web page with respective to URL of web page?
body: <p>I have a basic question with CSS as am quite new to web development.</p>
  
  <p>Can we apply CSS styles on a web page specific to the URL ?</p>
  
  <p>I know CSS do not have if else conditions like we have for Javascript but I just to check if there is any smart way of doing it. Or it is not at all possible.</p>
  
  <p>For example in javascript you do something like following:</p>
  
  <pre><code>if (window.location.href.indexOf("webpage1.com") &gt; -1) {
  .................
  ...................
  ................
  }
  </code></pre>
  
  <p>Can we do something similar with CSS as well ?</p>
  
  <p>Please provide me your valuable suggestions.</p>