/    Sign up×
Community /Pin to ProfileBookmark

Zoom in web page like in a picture.

Hello everyone,

I have a problem to solve about a web development.
I wanted to know if it’s possible to make zoom in web page like an image.

Basically, when you zoom in Chrome, the layout of the html page change “responsively”.
But, I want to zoom in the page like an image without change the layout of the page, for example to zoom on a text or part of the page.

Thank you in advance for your time and help.

Sincerely,

Basile.S

to post a comment
Full-stack Developer

3 Comments(s)

Copy linkTweet thisAlerts:
@SempervivumOct 01.2020 — This can be done by use of CSS `transform: scale(factor);</C><br/>
By <C>
transform-origin`
the point in the page that doesn't change it's position can be set.

Very often a sophisticated procedure is used when zooming: The location of the mouse position defines the point that doesn't change it's position. To achieve this some javascript would be needed.
Copy linkTweet thisAlerts:
@VITSUSAOct 03.2020 — @basilesciaudeau#1623830 This is possible through CSS but you will required javascript to complete this task.
Copy linkTweet thisAlerts:
@marksmith121Oct 04.2020 — You can do it by CSS using transform: scale(factor);
×

Success!

Help @basilesciaudeau spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 4.26,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @Yussuf4331,
tipped: article
amount: 1000 SATS,

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,

tipper: @Samric24,
tipped: article
amount: 1000 SATS,
)...