Answers for "how to remove underline from link react"

4

remove underline from link i react

<Link to="/" style={{textDecoration:"none"}} />
Posted by: Guest on April-07-2021
3

react link underline

<Link to="first" style={{ textDecoration: 'none' }}>
  <MenuItem style={{ paddingLeft: 13 }}>Team 1</MenuItem>
</Link>
Posted by: Guest on February-16-2020
1

remove underline from hyperlink react

You can add style={{ textDecoration: 'none' }}
Posted by: Guest on January-11-2021
1

take out decoration from link react

import React, { Component } from 'react';
import { Link } from 'react-router-dom';
import styled from 'styled-components';


const StyledLink = styled(Link)`
    text-decoration: none;

    &:focus, &:hover, &:visited, &:link, &:active {
        text-decoration: none;
    }
`;

export default (props) => <StyledLink {...props} />;
Posted by: Guest on July-07-2020
0

how to decurate react router link css

#Nav_menu {
  display: flex;
  flex-direction: row;
  width: 100%;
  height: 100%;
  list-style-type: none;
  margin: 0;
  padding: 0;
}

.Nav_link:link {
  color: #fff;
  font-size: 1.6rem;
  line-height: 1.6rem;
  text-decoration: none;
}
.Nav_link:visited {
  color: #fff;
}
.Nav_link:hover {
  color: yellow;
}
.Nav_link:active {
  color: teal;
}

.activeRoute {
  background-color: yellow;
  border-bottom: 0.4rem solid teal;
  cursor: not-allowed;
}
Posted by: Guest on January-01-2021

Code answers related to "how to remove underline from link react"

Code answers related to "Javascript"

Browse Popular Code Answers by Language