Jump to content

Chat estático

Recommended Posts


Olá, estou aprendendo PHP,HTML e estava tentando aprender mais sobre CSS (não sei quase nada ainda...)


		border: 1px solid #B0BEC5;
		border-radius: 3px;
		height: 740px ;
		max-height: 100% ;
		padding: 1em;
		width: 400px ;
		margin: 0 auto;
		right: 0 ;
		z-index: 100;
		bottom: 0 ;
		display: flex;
		flex-direction: column;
		justify-content: space-between;
		position: absolute;

Não sei se as informações acima são o suficiente para me ajudarem, tentei várias formas mas não consegui....

Eu consigo fazer o chat acompanhar o scroll do site pelo próprio CSS ou precisaria usar JS/derivados ?

Share this post

Link to post
Share on other sites

Sim pelo css é possivel, o position terá de ser "fixed"

tenta isto:

    z-index: 10000000;
    background: transparent;
    overflow: hidden;
    display: block;
    margin: 0px;
    padding: 0px;
    border: 0px;
    transition: none;
    position: fixed;
    right: 10px;
    bottom: -4px;
    width: 310px;
    height: 430px;


Edited by Alltech

Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Create New...

Important Information

By using this site you accept our Terms of Use and Privacy Policy. We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.