Can Github Copilot Center a div?
I asked Github Copilot to center a div! Can it do it? Let’s see…
Apr 27, 2022
Code :
<!DOCTYPE html>
<html lang="en">
<head>
<style> div{
width: 200px;
height: 200px;
background-color: red;
margin: auto;
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
text-align: center; }
</style>
</head>
<body>
<div>Follow Me!</div>
</body>
</html>
Write in comment section on what I should make my next video or write a medium article.
Follow me on medium and Subscribe for more content!
Happy Coding!