HTML Elements Forums Window & Popups Window centered window

This topic contains 1 reply, has 2 voices, and was last updated by Avatar admin 2 months, 3 weeks ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #101406
    Avatar
    chips
    Participant

    Hi ,

    how canĀ  open a centered window?

    #101409
    Avatar
    admin
    Keymaster

    Hi chips,

    As this is native component, you can use the CSS properties ‘left’ and ‘top’;

    Example for centering a Window with Size equal to 400px:

        left: calc(50% - 200px);
    top: calc(50% - 200px);

    Best regards,
    Peter Stoev

    Smart UI Team
    https://www.htmlelements.com/

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.