Welcome!

By registering with us, you'll be able to discuss, share and private message with other members of our community.

SignUp Now!
  • Guest, before posting your code please take these rules into consideration:
    • It is required to use our BBCode feature to display your code. While within the editor click < / > or >_ and place your code within the BB Code prompt. This helps others with finding a solution by making it easier to read and easier to copy.
    • You can also use markdown to share your code. When using markdown your code will be automatically converted to BBCode. For help with markdown check out the markdown guide.
    • Don't share a wall of code. All we want is the problem area, the code related to your issue.


    To learn more about how to use our BBCode feature, please click here.

    Thank you, Code Forum.

HTML & CSS Please help me for the CSS media queries

AzertyOk

New Coder
Hello everyone, I am developing a site for my class project, and now I am encountering a big problem to make it adjustable for small screens (phones), I was advised to use bootstrap, but I I have already finished the project, I wonder if someone can help me adapt it, here is the link to download the files from the site it only contains CSS and HTML files Link to download the file
 
Hi there.
If possible, please edit your original post and include the HTML and CSS code inside code blocks. Posting links to download files is not ideal, unless, of course, your aim is to look suspicious, which I doubt is what you were trying to do.


You can use CSS media queries to adapt a site for small screens:
CSS:
@media (max-width: 360px) {
  // CSS rules in here only get applied when screen width is less than or equal to 360px
}

More on media queries here: CSS Media Queries
 

New Threads

Buy us a coffee!

Back
Top Bottom