Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

make the form center in all devices #2

Open
joyyo opened this issue Sep 20, 2019 · 1 comment
Open

make the form center in all devices #2

joyyo opened this issue Sep 20, 2019 · 1 comment

Comments

@joyyo
Copy link

joyyo commented Sep 20, 2019

hello.
it can be stupid question but how can I make all contents align as center in all devices?? I used this code but nothing changed.
`<style>
.content {
align-content: center;
margin: auto;
}
</style>

`
@Anonsatyam
Copy link

Anonsatyam commented Nov 7, 2019

You can use the Materializecss center class to put your division in the center.
You have to put Materializecss script at the bottom of your body.

<script src="https://cdnjs.cloudflare.com/ajax/libs/materialize/1.0.0/js/materialize.min.js"></script>
<div class="container center">
 Rest of the code goes here....
</div>

You can check my repo. I already have a projet on Materializecss

@msdonesjessa msdonesjessa mentioned this issue May 5, 2023
Open
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants