Answers for "text in button centered css"

CSS
21

how to center text in css

.class {
	text-align: center;
}
Posted by: Guest on February-15-2020
0

how to make a text in center with background color in css

<div style="text-align: center;background-color: rgb(150, 161, 255); display:table; margin:auto;  " id="clock">
            asd
    </div>
Posted by: Guest on May-25-2020

Browse Popular Code Answers by Language