Skip to content

Nandakishore695/Basic-Bootstrap-React-Example-For-Beginner

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 

Repository files navigation

CSS Interview Questions and Answers

1.What is CSS?

  • CSS stands for Cascading Style Sheets. CSS is used to define styles for your web pages, including the design, layout and variations in display for different devices and screen sizes.

2.Explain the difference between margin and padding?

  • Margin is the space outside the border of an element, while padding is the space inside the border of an element.

3.It is possible to change an inline element into a block level element?

  • Yes, it is possible by using css properties display: block;

4.What are CSS backgrounds, list the properties?

used to define the background effects for elements.

  • background:
  • background-color:
  • background-image:
  • background-repeat:
  • background-attachment:
  • background-position:

5.What are the different types of Selectors in CSS?

  • Universal Selector:
  • Element Type Selector:
  • ID Selector:
  • Class Selector:

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published