Frontend Forever App

We have a mobile app for you to download and use. And you can unlock many features in the app.

Get it now
Intall Later

Camera Animation

About this Code

       Hello reader, I am frontendforever. Nice to meet you again in this free code sharing website. In this post I am going to explain about Camera Animation. If you are new to this website, we recommend you to subscribe to our youtube channel and watch the videos. Ok lets dive into the code.

A camera is an optical device used to take pictures. In their most basic form, cameras are closed containers (the camera body) with a tiny hole (the aperture) to let light in so that it can record a picture on a surface that is sensitive to light (usually photographic film or a digital sensor). Different techniques are used by cameras to regulate how light strikes the light-sensitive surface. The amount of light that enters the camera can be focused by lenses, the aperture's size can be adjusted to admit more or less light in, and the shutter mechanism controls how long the photosensitive surface is exposed to light.


The Latin name for the first apparatus for projecting an image of the outside world onto a flat surface, camera obscura, which translates to "dark chamber," is where the word camera originates. The camera obscura gave rise to the contemporary photographic camera. The way a camera works is remarkably similar to the way an eye works. Joseph Nicéphore Niépce created the first ever lasting photograph in 1825.

Accessory items :

A common artificial light source in photography is the flash, which emits a brief burst of bright light during exposure. The majority of contemporary flash systems create intense light for a brief period of time (1/1,000 of a second or less) using a battery-powered high-voltage discharge through a gas-filled tube.
To help select the ideal flash duration, several flash instruments measure the light reflected from the flash. When a flash is directly connected to a camera, generally in the flash shoe or hot shoe or via a cable, opening the camera's shutter initiates the flash, and the camera's built-in light meter can help determine how long the flash will last.

Box Shadow Uses & Examples:

div {
  /* Keyword values */
  box-shadow: none;

  /* offset-x | offset-y | color */
  box-shadow: 60px -16px teal;

  /* offset-x | offset-y | blur-radius | color */
  box-shadow: 10px 5px 5px black;

  /* offset-x | offset-y | blur-radius | spread-radius | color */
  box-shadow: 2px 2px 2px 1px rgba(0, 0, 0, 0.2);

  /* inset | offset-x | offset-y | color */
  box-shadow: inset 5em 1em gold;

  /* Any number of shadows, separated by commas */
  box-shadow: 3px 3px red, -1em 0 0.4em olive;

  /* Global values */
  box-shadow: inherit;
  box-shadow: initial;
  box-shadow: revert;
  box-shadow: revert-layer;
  box-shadow: unset;


These are the output images of the code. You can click on the image to enlarge it. also you can click the try it button to see the output.

Youtube Tutorial Video

If you are a visual learner and want to learn how to use this code, you can watch the video below.
and also this video contains the clear step by step explanation and the output of the code.

Source Code

This is the source code of the code. You can copy and paste the code to your editor.

And also you can click the try it button to see the output of the code in our web Code Playground.
You can also download the code to the zip format by clicking the download button. The download process is little bit complex, you need ti await for 10 seconds. after that you can download the code by clicking the generated download link.

Leave a Comment

You need to login first to comment.