Front End Technology Articles - Page 662 of 860

Flash Animation Effect with CSS

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

325 Views

A sudden brief burst of bright light of an element creates a Flash effect.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: 1s;             animation-duration: 1s;             -webkit-animation-fill-mode: both;             animation-fill-mode: both;          }          @keyframes flash {             0%, 50%, 100% {                opacity: 1;             }             25%, 75% {                opacity: 0;             }          }          .flash {             animation-name: flash;          }                           Reload page                function myFunction() {             location.reload();          }          

Fade Out Up Big Animation Effect with CSS

Lakshmi Srinivas
Updated on 16-Mar-2020 08:13:53

96 Views

To implement Fade Out Up 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 fadeOutUpBig {             0% {                opacity: 1;                -webkit-transform: translateY(0);             }             100% {                opacity: 0;                -webkit-transform: translateY(-2000px);             }          }          @keyframes fadeOutUpBig {             0% {                opacity: 1;                transform: translateY(0);             }             100% {                opacity: 0;                transform: translateY(-2000px);             }          }          .fadeOutUpBig {             -webkit-animation-name: fadeOutUpBig;             animation-name: fadeOutUpBig;          }                           Reload page                function myFunction() {             location.reload();          }          

Values to set page size in CSS

Daniol Thomas
Updated on 16-Mar-2020 08:14:58

2K+ Views

There are four values that can be used to set 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, it sets both the width and height of the page box. Percentage values are ... Read More

Fade Out Up Animation Effect with CSS

George John
Updated on 16-Mar-2020 08:12:15

151 Views

To implement Fade Out Up Animation Effect on an image with CSS, you can try to run the following codeExampleLive 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 fadeOutUp {             0% {                opacity: 1;                -webkit-transform: translateY(0);             }             100% {                opacity: 0;                -webkit-transform: translateY(-20px);             }          }          @keyframes fadeOutUp {             0% {                opacity: 1;                transform: translateY(0);             }             100% {                opacity: 0;                transform: translateY(-20px);             }          }          .fadeOutUp {             -webkit-animation-name: fadeOutUp;             animation-name: fadeOutUp;          }                           Reload page                function myFunction() {            location.reload();          }          

CSS elevation Property

karthikeya Boyini
Updated on 16-Mar-2020 08:11:24

1K+ Views

The elevation property sets where the sound should come from vertically. The possible values are as follows −angle − Specifies the elevation as an angle, between -90deg and 90deg. 0deg means on the forward horizon, which loosely means level with the listener. 90deg means directly overhead and -90deg means directly below.below − Same as '-90deg'.level − Same as '0deg'.above − Same as '90deg'.higher − Adds 10 degrees to the current elevation.lower − Subtracts 10 degrees from the current elevation.You can try to run the following code to implement CSS elevation property −    

CSS speak property

Samual Sam
Updated on 16-Mar-2020 08:10:19

105 Views

This property specifies whether the text will be rendered aurally and if so, in what manner. The possible values are −none − Suppresses aural rendering so that the element requires no time to render.normal − Uses language-dependent pronunciation rules for rendering an element and its children.spell-out − Spells the text one letter at a time.Note the difference between an element whose 'volume' property has a value of 'silent' and an element whose 'speak' property has the value 'none'. The former takes up the same time as if it had been spoken, including any pause before and after the element, but no ... Read More

Fade Out Right Big Animation Effect with CSS

Yaswanth Varma
Updated on 08-Jan-2024 16:07:32

147 Views

Animations never fail to attract people in. When you present them with a painting and a video, they will always focus on the moving image since it is more visually appealing. Thus, the best method to get people to visit your website is to incorporate animations. The things you can accomplish using CSS animations are endless. A few lines of code can be used to generate stunning and interesting animations. All you need to do is adjust the direction and give a few parameters. For getting better understanding on implemeneting the fade out right big animation effect with CSS let's ... Read More

Fade Down Big Animation Effect with CSS

karthikeya Boyini
Updated on 16-Mar-2020 08:07:07

130 Views

To implement Fade 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 fadeOutDownBig {             0% {                opacity: 1;                -webkit-transform: translateY(0);             }             100% {                opacity: 0;                -webkit-transform: translateY(2000px);             }          }          @keyframes fadeOutDownBig {             0% {                opacity: 1;                transform: translateY(0);             }             100% {                opacity: 0;                transform: translateY(2000px);             }          }          .fadeOutDownBig {             -webkit-animation-name: fadeOutDownBig;             animation-name: fadeOutDownBig;          }                           Reload page                       function myFunction() {             location.reload();          }          

Bounce Out Right Animation Effect with CSS

Arjun Thakur
Updated on 16-Mar-2020 08:05:49

67 Views

To implement Bounce Out Right Animation Effect with CSS, you can try to run the following codeExample                    .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 bounceOutRight {             0% {                -webkit-transform: translateX(0);             }             20% {                opacity: 1;                -webkit-transform: translateX(-20px);             }             100% {                opacity: 0;                -webkit-transform: translateX(2000px);             }          }          @keyframes bounceOutRight {             0% {                transform: translateX(0);             }             20% {                opacity: 1;                transform: translateX(-20px);             }             100% {                opacity: 0;                transform: translateX(2000px);             }          }          .bounceOutRight {             -webkit-animation-name: bounceOutRight;             animation-name: bounceOutRight;          }                     >/div>       Reload page                function myFunction() {             location.reload();          }          

CSS background-image property

Lakshmi Srinivas
Updated on 16-Mar-2020 08:05:13

174 Views

The CSS background-image property is used to specify the background image. You can try to run the following code to implement the background-image property in CSS −Example                    #demo {             border: 5px dashed red;             padding: 10px;             background-image: url("https://www.tutorialspoint.com/css/images/css-mini-logo.jpg");          }                              www.tutorialspoint.com          Tutorials Point originated from the idea ... Read More

Advertisements