Git Product home page Git Product logo

travel's Introduction

travel

images of different screen sizes (output)

Large Sized Screen(Laptop/desktop)

CaptureLarge

CaptureLargeWithPopUpHelloWorld

Medium Sized Screen(Tab)

CaptureMdium

CaptureMidiumWithPopUpHelloWorld

Small Sized Screen(Mobiles)

CaptureSmall

CaptureSmallWithPopUpHelloWorld

Key Points

Plannings

I give the object-fit: cover; property so that image cover all the remaining area but without without distortion and give obect-position: center; property so that when images trimmed based on screen size that time my center part of images will be shown. I give overflow: hidden; property to the parent div due to this no scroll bar is coming even in x/y direction. I give position: relative; property to the parent div because relative does not leave it's space and take the position with respect to itself only. I give position: absolute; property to the div which is haveng Heading and button because absolute left it's space so it is not disturbing it's parent div and it's takes position with respect to it's nearest positioned parent and I am trying to keep this div middle in all the screeen sizes dinamically with the help calc(). I give opacity property to the image so that it's look like transparent.

travel's People

Contributors

ankitkm95 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.