title: How to make dependable attributes in configurable products magento2?
body: <p>I'm making a configurable product in which I have two dependable attributes i.e color and size. The issue is I am not getting how to give both the attribute different prices and make the size dependable on the size,</p>
  
  <p>For instance :
  color : red, blue
  Size : s,xl,2xl,3xl</p>
  
  <p>Iwant size dependent on the size it is done but how to give the red attribute to price $30 and blue to $40, and further s = $20, xl=$30, make sense ?</p>
  
  <p>So can any one help me, I'm also digging the google.</p>