Abhilasha Sinha

  • DDaudalagidhas quoted2 years ago
    The more specifically or uniquely, a CSS selector points to an HTML element, the higher will be its specificity.
  • DDaudalagidhas quoted2 years ago
    When you start combining and applying multiple CSS selector types in your CSS rules, it will become necessary to check the precedence of those selectors more carefully.
  • DDaudalagidhas quoted2 years ago
    The viewport is the area where the browser renders the content.
  • DDaudalagidhas quoted2 years ago
    Percentage unit is dependent on the position property of the element which determines the containing block of the element:
  • DDaudalagidhas quoted2 years ago
    Setting and styling the font is an important aspect of displaying the text content. The font related properties are inherited and should be set at the body level to avoid duplicate styling at different levels.
  • DDaudalagidhas quoted2 years ago
    You cannot control the width and height of an inline element using CSS.
  • DDaudalagidhas quoted2 years ago
    If we have to set this to 100%, the height should be set at the parent level to some absolute value starting from html->body and all containing parent to finally impact the element.
  • DDaudalagidhas quoted2 years ago
    total width = width + margin-left + margin-right + border-left-width + border-right-width + padding-left + padding-right
    total height = height + margin-top + margin-bottom + border-top-width + border-bottom-width + padding-top + padding-bottom
  • DDaudalagidhas quoted2 years ago
    You can change how the browsers calculate the size of the HTML element with the box-sizing CSS property.
  • DDaudalagidhas quoted2 years ago
    This can be set to border-box to include the padding and border in the given width and height of the element.
fb2epub
Drag & drop your files (not more than 5 at once)