Botpress Chatbot Example
body {
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
height: 100vh;
margin: 0;
color: white;
background-color: #000000;
font-family: Arial, sans-serif;
}
.center-div {
width: 50vw;
height: 80vh;
background-color: rgb(102, 71, 255);
border-radius: 15px;
padding: 5px;
box-sizing: border-box;
color: white;
display: flex;
justify-content: center;
align-items: center;
text-align: center;
}
@media only screen and (max-width: 600px) {
.center-div {
height: 40vh;
width: 80vw;
}
}
This is my header
Botpress Chatbot in a
<
div>
<iframe
srcdoc="
botpress.open()
"
style="width: 100%; height: 100%; border: none;">