Skip to content
  • Unlock Pro
  • Log in with GitHub
Profile
OverviewSolutions
53
Comments
8

Cheosphere

@CheosphereSantiago, Chile1,040 points

Diseñador gráfico de profesión, reconvirtiéndome en ciertas tecnologías del desarrollo web y la programación, motivado por la buena música 🤘🏻 | Graphic designer by profession, learning in certain technologies of web development and programming, motivated by good music 🤘🏻

I’m currently learning...

HTML, CSS, JS, starting with Vue.js

Latest solutions

  • Recipe Page (HTML | CSS)


    Cheosphere•1,040
    Submitted over 1 year ago

    15 comments
  • Social Links Profile (HTML | CSS)


    Cheosphere•1,040
    Submitted over 1 year ago

    9 comments
  • Blog Preview Card (HTML | CSS)


    Cheosphere•1,040
    Submitted over 1 year ago

    15 comments
  • FAQ accordion (HTML | CSS | Vue JS Composition API + Vite )

    #vue#vite

    Cheosphere•1,040
    Submitted over 1 year ago

    10 comments
  • E-commerce Product Page (HTML | CSS | Vue JS Composition API + Vite )


    Cheosphere•1,040
    Submitted over 1 year ago

    8 comments
  • Room Homepage (HTML | CSS | Vue JS Composition API + Vite )

    #vue#vite

    Cheosphere•1,040
    Submitted over 1 year ago

    9 comments
View more solutions

Latest comments

  • KingMisach•20
    @KingMisach
    Submitted over 1 year ago

    HTML,CSS and Bootstrap

    3
    Cheosphere•1,040
    @Cheosphere
    Posted over 1 year ago

    @KingMisach Hello, it is a very good development, you can improve the background by adding the following lines of code in your body tag:

    body {
        background-repeat: no-repeat;
        background-size: contain;
        background-color: hsl(225, 100%, 94%);
    }
    
    Marked as helpful
  • raja reddy•110
    @yallalaraja
    Submitted over 1 year ago

    Order Summary Component

    2
    Cheosphere•1,040
    @Cheosphere
    Posted over 1 year ago

    @yallalaraja Hello, it is a very good development, you can improve the background by adding the following lines of code in your body tag:

    body {
        background-repeat: no-repeat;
        background-size: contain;
        background-color: hsl(225, 100%, 94%);
    }
    
  • Ana Maria•30
    @anadutraoli
    Submitted over 1 year ago

    Single Price Grid Solution

    1
    Cheosphere•1,040
    @Cheosphere
    Posted over 1 year ago

    @anadutraoli Hello Ana Maria, your development looks great, so that the content is positioned in the center, you can apply the following css styles to the body tag:

    body {
       height: 100vh;
       display: flex;
       justify-content: center;
       align-items: center;
    }
    
    Marked as helpful
  • Adedeeoyin•510
    @Adedeeoyin
    Submitted almost 2 years ago

    clipboard-landing page

    1
    Cheosphere•1,040
    @Cheosphere
    Posted almost 2 years ago

    @Iamdodo22 Hello friend, I recommend that for the images you only establish the width and not its height, so you avoid that the image looks deformed.

    Marked as helpful
  • Deborah Robbiano•600
    @debriks
    Submitted over 2 years ago

    News Homepage in Vanilla CSS & JS using CSS Grid (grid-areas)

    4
    Cheosphere•1,040
    @Cheosphere
    Posted over 2 years ago

    @debriks Hi Deborah, what a great job I love your project!... to avoid the horizontal scrolling generated by the mobile menu, you can apply the overflow-x property to the menu container (in your case the container class tag) as hidden, and position as relative:

    .container {
      display: flex;
      flex-direction: column;
      overflow-x: hidden;
      position: relative;
    }
    

    With this the horizontal scroll should disappear, it is likely that your design will be broken but it will surely be some minimum adjustment of margin and/or padding, no more than that.

    Marked as helpful
  • Megha Bhutada•10
    @coder-megha242
    Submitted over 2 years ago

    QR code component

    1
    Cheosphere•1,040
    @Cheosphere
    Posted over 2 years ago

    @coder-megha242 Hi Megha, here are some tips to make your project look better:

    First I recommend you set both html and body, a width and height of 100%, so that later with display flex you can center your content horizontally and vertically:

    html,
    body {
        width: 100%;
        height: 100%;
    }
    

    Regarding the "*" element, I recommend setting the margin, padding, and box-sizing properties, and setting the font-family property on the body, along with display-flex, justify-content, and align-items:

    *{
        margin: 0%;
        padding: 0%;
        box-sizing: border-box;
    }
    
    body{
        display: flex;
        justify-content: center;
        align-items: center;
        font-family: 'Outfit', sans-serif;
        background-color: hsl(212, 45%, 89%);
    }
    

    The element with class ".content" does not need properties, since its parent element (body) will take care of centering your content:

    /* .content{
        height: 100%;
        width: 100%;   
        display: flex;
        justify-content: center;
        align-items: center;
    } */
    

    The element with class ".box" is the container of the qr code image and texts, this element has a width of 320px and a height of 520px, and the padding of 10px is set on this parent element, so you won't have to apply padding to the child elements, additionally I recommend you to set the following properties in ".box", ".box h2" and ".box p":

    .box{
        width: 320px;
        height: 520px;
        background: hsl(0, 0%, 100%); 
        border-radius:  10px;
        padding: 16px;
    }
    
     .box h2{
        /* padding: 10x; */
        margin-top: 16px;
        margin-bottom: 24px;
        font-size: 24px;
        text-align: center;
     }
    
     .box p{
        margin-top: 5px;
        padding: 10px;
        text-align: center;
        font-size: 15px;
     }
    

    Finally, to the ".box img" element you only assign a width of 100% and the height will adjust automatically, and I recommend setting the border-radius property to the same value as its container (10px):

    .box img{
        width: 100%;
        border-radius: 10px;
    }
    

    I hope these tips are useful, a hug!

View more comments
Frontend Mentor logo

Stay up to datewith new challenges, featured solutions, selected articles, and our latest news

Frontend Mentor

  • Unlock Pro
  • Contact us
  • FAQs
  • Become a partner

Explore

  • Learning paths
  • Challenges
  • Solutions
  • Articles

Community

  • Discord
  • Guidelines

For companies

  • Hire developers
  • Train developers
© Frontend Mentor 2019 - 2025
  • Terms
  • Cookie Policy
  • Privacy Policy
  • License

Oops! 😬

You need to be logged in before you can do that.

Log in with GitHub

Oops! 😬

You need to be logged in before you can do that.

Log in with GitHub

Oops! 😬

You need to be logged in before you can do that.

Log in with GitHub

Oops! 😬

You need to be logged in before you can do that.

Log in with GitHub

Oops! 😬

You need to be logged in before you can do that.

Log in with GitHub

Oops! 😬

You need to be logged in before you can do that.

Log in with GitHub

Oops! 😬

You need to be logged in before you can do that.

Log in with GitHub

Oops! 😬

You need to be logged in before you can do that.

Log in with GitHub

Oops! 😬

You need to be logged in before you can do that.

Log in with GitHub

Oops! 😬

You need to be logged in before you can do that.

Log in with GitHub

Oops! 😬

You need to be logged in before you can do that.

Log in with GitHub

Oops! 😬

You need to be logged in before you can do that.

Log in with GitHub

Oops! 😬

You need to be logged in before you can do that.

Log in with GitHub

Oops! 😬

You need to be logged in before you can do that.

Log in with GitHub

Oops! 😬

You need to be logged in before you can do that.

Log in with GitHub

Oops! 😬

You need to be logged in before you can do that.

Log in with GitHub

Oops! 😬

You need to be logged in before you can do that.

Log in with GitHub

Oops! 😬

You need to be logged in before you can do that.

Log in with GitHub

Oops! 😬

You need to be logged in before you can do that.

Log in with GitHub

Oops! 😬

You need to be logged in before you can do that.

Log in with GitHub

Oops! 😬

You need to be logged in before you can do that.

Log in with GitHub

Oops! 😬

You need to be logged in before you can do that.

Log in with GitHub

Oops! 😬

You need to be logged in before you can do that.

Log in with GitHub

Oops! 😬

You need to be logged in before you can do that.

Log in with GitHub

Oops! 😬

You need to be logged in before you can do that.

Log in with GitHub

Oops! 😬

You need to be logged in before you can do that.

Log in with GitHub

Oops! 😬

You need to be logged in before you can do that.

Log in with GitHub

Oops! 😬

You need to be logged in before you can do that.

Log in with GitHub

Oops! 😬

You need to be logged in before you can do that.

Log in with GitHub

Oops! 😬

You need to be logged in before you can do that.

Log in with GitHub

Oops! 😬

You need to be logged in before you can do that.

Log in with GitHub