top button
Flag Notify
    Connect to us
      Site Registration

Site Registration

How many types of Box Model available in CSS?

0 votes
293 views
How many types of Box Model available in CSS?
posted Feb 9, 2018 by anonymous

Share this question
Facebook Share Button Twitter Share Button LinkedIn Share Button

1 Answer

0 votes

Content box

The area where your content is displayed, which can be sized using properties like width and height.

Padding box

The padding sits around the content as white space; its size can be controlled using padding and related properties.

Border box

The border box wraps the content and any padding. Its size and style can be controlled using border and related
properties.

Margin box

The margin is the outermost layer, wrapping the content, padding and border as whitespace between this box and other elements. Its size can be controlled using margin and related properties.

answer Mar 16, 2020 by Siddhi Patel
Similar Questions
0 votes

I have an image called social-share-icon.gif.This image containing facebook,twitter and google+ icon.

In Css i need to use all icon as seperate.I don't have any idea how to use this.

Some one please help with example code.

+1 vote

I tried the following code.But its not working.

html {scrollbar-face-color:#D6D7D6 ;
scrollbar-shadow-color: #FFFFFF;
scrollbar-highlight-color:#EFEFEF;
scrollbar-3dlight-color: #FFFFFF;

scrollbar-track-color: #FFFFFF;
scrollbar-arrow-color:  #000000;}
...