Found 8591 Articles for Front End Technology

Paged Media in CSS

Lakshmi Srinivas
Updated on 16-Mar-2020 07:20:51

117 Views

Paged media differ from continuous media in that the content of the document is split into one or more discrete pages. Paged media includes paper, transparencies, pages that are displayed on computer screens, etc.The CSS2 defines a "page box", a box of finite dimensions in which content is rendered. The page box is a rectangular region that contains two areas −The page area − The page area includes the boxes laid out on that page. The edges of the page area act as the initial containing block for a layout that occurs between page breaks.The margin area − It surrounds ... Read More

Role of size property in CSS to set the size and orientation of a page box

Ankith Reddy
Updated on 16-Mar-2020 07:19:41

164 Views

The size property specifies the size and orientation of a page box. There are four values which can be used for page size auto - The page box will be set to the size and orientation of the target sheet.landscape − Overrides the target's orientation. The page box is the same size as the target, and the longer sides are horizontal.portrait − Overrides the target's orientation. The page box is the same size as the target, and the shorter sides are horizontal.length − Length values for the 'size' property create an absolute page box. If only one length value is specified, ... Read More

Fade In Left Big Animation Effect with CSS

karthikeya Boyini
Updated on 16-Mar-2020 07:18:58

144 Views

To implement Fade In Left Big Animation Effect on an image with CSS, you can try to run the following code −ExampleLive Demo                    .animated {             background-image: url(/css/images/logo.png);             background-repeat: no-repeat;             background-position: left top;             padding-top:95px;             margin-bottom:60px;             -webkit-animation-duration: 10s;             animation-duration: 10s;             -webkit-animation-fill-mode: both;             animation-fill-mode: both;          }          @-webkit-keyframes fadeInLeftBig {             0% {                opacity: 0;                -webkit-transform: translateY(-2000px);             }             100% {                opacity: 1;                -webkit-transform: translateY(0);             }          }          @keyframes fadeInLeftBig {             0% {                opacity: 0;                transform: translateY(-2000px);             }             100% {                opacity: 1;                transform: translateY(0);             }          }          .fadeInLeftBig {             -webkit-animation-name: fadeInLeftBig;             animation-name: fadeInLeftBig;          }                           Reload page                function myFunction() {             location.reload();          }          

Fade In Down Animation Effect with CSS

Arjun Thakur
Updated on 16-Mar-2020 07:18:14

257 Views

To implement Fade In Down Big Animation Effect on an image with CSS, you can try to run the following code −ExampleLive Demo                    .animated {             background-image: url(/css/images/logo.png);             background-repeat: no-repeat;             background-position: left top;             padding-top:95px;             margin-bottom:60px;             -webkit-animation-duration: 10s;             animation-duration: 10s;             -webkit-animation-fill-mode: both;             animation-fill-mode: both;          }          @-webkit-keyframes fadeInDown {             0% {                opacity: 0;                -webkit-transform: translateY(-20px);             }             100% {                opacity: 1;                -webkit-transform: translateY(0);             }          }          @keyframes fadeInDown {             0% {                opacity: 0;                transform: translateY(-20px);             }             100% {                opacity: 1;                transform: translateY(0);             }          }          .fadeInDown {             -webkit-animation-name: fadeInDown;             animation-name: fadeInDown;          }                           Reload page                function myFunction() {             location.reload();          }          

Fade In Left Animation Effect with CSS

Samual Sam
Updated on 16-Mar-2020 07:16:05

210 Views

To implement Fade In Left Animation Effect on an image with CSS, you can try to run the following code −ExampleLive Demo                    .animated {             background-image: url(/css/images/logo.png);             background-repeat: no-repeat;             background-position: left top;             padding-top:95px;             margin-bottom:60px;             -webkit-animation-duration: 10s;             animation-duration: 10s;             -webkit-animation-fill-mode: both;             animation-fill-mode: both;          }          @-webkit-keyframes fadeInLeft {             0% {                opacity: 0;                -webkit-transform: translateX(-20px);             }             100% {                opacity: 1;                -webkit-transform: translateX(0);             }          }          @keyframes fadeInLeft {             0% {                opacity: 0;                transform: translateX(-20px);             }             100% {                opacity: 1;                transform: translateX(0);             }          }          .fadeInLeft {             -webkit-animation-name: fadeInLeft;             animation-name: fadeInLeft;          }          animation-name: fadeInDown;                           Reload page                function myFunction() {             location.reload();          }          

What is a page box in CSS?

Lakshmi Srinivas
Updated on 16-Mar-2020 07:14:39

218 Views

You can specify the dimensions, orientation, margins, etc., of a page box within an @page rule. The dimensions of the page box are set with the 'size' property. The dimensions of the page area are the dimensions of the page box minus the margin area.For example, the following @page rule sets the page box size to 8.5 × 11 inches and creates '2cm' margin on all sides between the page box edge and the page area −     You can use the margin, margin-top, margin-bottom, margin-left, and margin-right properties within the @page rule to set margins for your page.Finally, ... Read More

Role of media attribute on the LINK element

Chandu yadav
Updated on 16-Mar-2020 07:14:04

148 Views

The media attribute on the LINK element specifies the target media of an external style sheet −Example    

How to specify the target media within the document language with CSS

karthikeya Boyini
Updated on 16-Mar-2020 07:13:23

109 Views

To specify the target media, use the media attribute −Example    

How to specify the target media types of a set of CSS rules

George John
Updated on 16-Mar-2020 07:11:48

176 Views

The media attribute on the Link element specifies the target media of an external style sheet −Example    

CSS media types

Samual Sam
Updated on 30-Jul-2019 22:30:22

128 Views

The following are the media types in CSS:S.noValue & Description1.AllSuitable for all devices.2.AuralIntended for speech synthesizers.3.BrailleIntended for braille tactile feedback devices.4.EmbossedIntended for paged braille printers.5.HandheldIntended for handheld devices (typically small screen, monochrome, limited bandwidth).6.PrintIntended for paged, opaque material and for documents viewed on screen in print preview mode. Please consult the section on paged media.7.ProjectionIntended for projected presentations, for example, projectors or print to transparencies. Please consult the section on paged media.8.ScreenIntended primarily for color computer screens.9.TtyIntended for media using a fixed-pitch character grid, such as teletypes, terminals, or portable devices with limited display capabilities.10.TvIntended for television-type devices. Read More

Advertisements