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

aropsta

@aropsta110 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

  • React.js responsive site. Using Class based components and context

    #react#sass/scss

    aropsta•110
    Submitted over 3 years ago

    1 comment
  • single-price-grid-component-master


    aropsta•110
    Submitted over 3 years ago

    0 comments
  • four-card-feature-section-master


    aropsta•110
    Submitted over 3 years ago

    0 comments
  • profile-card-component


    aropsta•110
    Submitted over 3 years ago

    0 comments
  • order-summary-component-main


    aropsta•110
    Submitted over 3 years ago

    2 comments
  • 3-column-preview-card-component-main


    aropsta•110
    Submitted over 3 years ago

    0 comments

Latest comments

  • Sebastián León•100
    @lionns
    Submitted over 3 years ago

    Responsive card using CSS Grid & CSS Flexbox

    #accessibility
    3
    aropsta•110
    @aropsta
    Posted over 3 years ago

    The purple color doesn't look as bright as the original design. You should use mix blend mode on your pseudo element like this

    .image::before {

    content: ''; position: absolute; inset: 0; background: var(--soft-violet); width: 100%; height: 100%; mix-blend-mode: multiply;

    }

    The rest of the code can be found here. I haven't done the mobile site though :-) https://github.com/aropsta/card_data-analytics-statistics

    Marked as helpful
  • Erick F. Felix•265
    @efs0-cod3
    Submitted over 3 years ago

    responsive mobile first WD - all vanilla

    2
    aropsta•110
    @aropsta
    Posted over 3 years ago

    The way I did it was to toggle on/off a class which changes the fill colour of my svg element, and the background of its container. This is the main code for it. The rest can be found at https://github.com/aropsta/article-preview-component-master

    To get an svg xml text you can just open it in notepad HTML

    <div class="contain"> <svg xmlns="http://www.w3.org/2000/svg" width="15" height="13"> <path class="share" fill="#6E8098" d="M15 6.495L8.766.014V3.88H7.441C3.33 3.88 0 7.039 0 10.936v2.049l.589-.612C2.59 10.294 5.422 9.11 8.39 9.11h.375v3.867L15 6.495z"/></svg> </div>

    CSS

    .toggleChange { fill: white; background-color: var(--d-darkBlue); }

    JS

    const svgPath = document.getElementsByTagName('path')[0];

    const container = document.querySelector(".contain");

    container.addEventListener('click', toggleStyle);

    function toggleStyle(){

    svgPath.classList.toggle("toggleChange");

    container.classList.toggle("toggleChange");

    social.classList.toggle('make-visible'); }

    Marked as helpful

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