Jump to content

CSS For Xibo TV


acecadet

Recommended Posts

So I'm very rusty/a beginner when it comes to CSS.

I'm trying to create a welcome message for our reception television screen. The software that allows for this is called Xibo. You can see what the setup currently looks like with my current css

I'm trying to get the welcome box to be centered/bottom of my screen (4k ultra hd, 3840 x 2160 px) as per the example image ( Colors/text aren't important right now. I just want the dang thing centered)

Here is my code;

 

<head>
	<style>
.container-box {
position:absolute;
bottom:0;
left:50%;
margin-left: -50%;
padding: 100px;
align-items: center;
align-content: center;
margin-bottom: 20px;
		}

.item-list {
display: content;
padding: 20px;
font-size: 100px;
text-align: center;
vertical-align: middle;
color: black;
}

</head></style>

<html>
	
<body>
<div class="container-box">
<button class="item-list"> WELCOME TO RAND ACCESSORIES </button>
</div></body>

Any help would be appreciated. Thank you!

Screen Shot 2022-11-29 at 10.11.30 AM copy.png

Link to comment
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...