Skip to content
  • Unlock Pro
  • Log in with GitHub
Profile
OverviewSolutions
7
Comments
2

BrandonSdvl

@BrandonSdvlMéxico240 points

I’m a mysterious individual who has yet to fill out my bio. One thing’s for certain: I love writing front-end code!

Latest solutions

  • Space tourism website | Vue, Sass & Pug

    #bem#sass/scss#vue

    BrandonSdvl•240
    Submitted over 3 years ago

    0 comments
  • E-commerce product page | Vue, Sass & Pug


    BrandonSdvl•240
    Submitted over 3 years ago

    0 comments
  • Ip address tracker - React & Sass


    BrandonSdvl•240
    Submitted over 3 years ago

    0 comments
  • Responsive To-do app with theme switcher - React & Sass


    BrandonSdvl•240
    Submitted over 3 years ago

    0 comments
  • Calculator App With Theme Switch Using CSS Variables & Vue


    BrandonSdvl•240
    Submitted almost 4 years ago

    2 comments
  • Landing page using PUG, SASS, JS


    BrandonSdvl•240
    Submitted over 4 years ago

    0 comments
View more solutions

Latest comments

  • Yeimy•365
    @Yeimy7
    Submitted over 3 years ago

    Space-tourism-website - HTML, CSS Grid/Flex and Vanilla JS

    3
    BrandonSdvl•240
    @BrandonSdvl
    Posted over 3 years ago

    Hello! My only suggestion is that if you want the border-bottom from active link to be inside the menu you can add a transparent border like this:

    .menu {
      border-bottom: 3px solid transparent;
    }
    
    Marked as helpful
  • -Lion-•235
    @Lio-n
    Submitted over 3 years ago

    Ip Address Tracker

    1
    BrandonSdvl•240
    @BrandonSdvl
    Posted over 3 years ago
    • You can use the border property in every <li> except the last one and remove the gap from <ul class="card">
    .ipAddress,
    .location,
    .timezone {
    	width: 25%;
    	border-right: 1px solid #969696;
    	/* Replaces the 4rem of the gap */
    		padding-right: 2rem;
    		margin-right: 2rem;
    }
    
    @media (min-width:  800px) {
    	.card {
    		display:  flex;
    		/* gap: 4rem; */
    		text-align:  left;
    		justify-content:  space-between;
    	}
    }
    
    • Or the second option wich is a bit complicated but with this you can control the separator height and make it look like the original design. You just have to add <div class="separator"></div> between every li and adjust your css.
    <ul  class="card">
    	<li  class="ipAddress">
    		<p>IP ADDRESS</p>
    		<h2  class="ipAddress__para bodySize">192.212.174.101</h2>
    	</li>
    	<div  class="separator"></div>
    	<li  class="location">
    		<p>LOCATION</p>
    		<h2  class="location__para bodySize">Brooklyn, NY 10001</h2>
    	</li>
    	<div  class="separator"></div>
    	...
    </ul>
    
    .separator {
    	display:  none;
    }
    @media (min-width:  800px) {
    	.card {
    		display:  flex;
    		gap:  2rem;
    		text-align:  left;
    		justify-content:  space-between;
    		align-items:  center;
    	}
    	.separator {
    		display:  block;
    		height:  80%; 
    		width:  1px;
    		background-color:  #969696;
    	}
    }
    

    This should be enough, but you are using position: absolute on the .card element so... it doesn't work :) But you have a .cont-cart element (I'm not sure what is that for) and you can use position: absolute on it.

    .cont-card {
    	display:  flex;
    	padding:  0  5rem;
    	justify-content:  center;
    	position:  absolute;
    	left:  0;
    	right:  0;
    }
    
    .card {
    	list-style-type:  none;
    	z-index:  1;
    	padding:  2rem;
    	border-radius:  15px;
    	background-color:  #fff;
    }
    

    To avoid this last part you can put a measure in px on the separator height and it would work, but it wouldn't resize if necessary.

    I hope this helps :))

    Marked as helpful
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

Beta Member

This badge is a shoutout to the early members of our community. They've been around since the early days, putting up with (and reporting!) bugs and adjusting to big UX overhauls!

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