score:1
Accepted answer
i believe that your sass code is broken. you're missing a closing curly bracket. try this:
.my-page {
&-link {
font-weight: normal;
color: green;
&:hover {
text-decoration: underline;
font-weight: 500;
color: #006cbc;
}
}
}
also you can use the sass playground to make sure that you get what you expect.
hope this helps :)
Source: stackoverflow.com
Related Query
- How to use hover not included in the react code?
- How to use the react spring hook with react. Basic code not working
- How can I use useEffect in React to run some code only when the component first mounts, and some other code whenever an event occurs (repeatedly)?
- How to compile the JS file to use a React component in a WordPress theme if I do not need SSR?
- npm start is starting the server.js not my React app, how can I use it to start my app?
- How to get the phone number not the country code in MuiPhoneNumber in React
- how to replace this code snippet to not use attrs? react and emotion/styled
- How is my React app able to use my Node REST API when its not accessible from the outside?
- How to use the increment operator in React
- How to solve Warning: React does not recognize the X prop on a DOM element
- Making an HTML string from a React component in background, how to use the string by dangerouslySetInnerHTML in another React component
- How can I write an else if structure using React (JSX) - the ternary is not expressive enough
- How do I use the Firebase onAuthStateChange with the new React Hooks?
- How to use react-router 4.0 to refresh current route? not reload the whole page
- How do I use local state along with redux store state in the same react component?
- How to resolve "Uncaught TypeError: Failed to construct 'Comment': Please use the 'new' operat....." with respect to React JS?
- how to import images via props in react and use the 'import' path
- How do we use the facebook React addons Perf class?
- How to implement the OAuth2 Authorization code grant with PKCE for a React single page application?
- How to solve Warning: React does not recognize the `currentSlide`, ` slideCount` prop on a DOM element
- How to handle exit app in one screen not in the whole app - React Native?
- How to use setState() in React to blank/clear the value of an array
- How can I use an IIFE in the return function of a react component?
- How do I use enter to submit the Semantic React Search
- How to use the same port for React Js and Node Js?
- How to use React.FC<props> type when the children can either be a React node or a function
- how to solve the problem of "folly/Portability.h" and "File .../main.jsbundle does not exist" in React Native?
- How to debug react in vs code ? Error break point set but not yet bound
- how to write inline js event handler code in the react component using "this"
- How to use currying to create HoC in React and connect to the Redux store at the same time?
More Query from same tag
- React - Too many re-renders when using props
- Best way to write a class that I can re-use to represent the CurrentUser
- Unhandled Rejection (FirebaseError) Function DocumentSnapshot.get() requires between 1 and 2 arguments, but was called with 0 arguments
- Props inside object in Gatsby
- React Redux - Take Data from payload and display in component
- "Attempted import error: 'authReducer' is not exported from './authReducer'. "
- How to use useState hook with array state for children that call the setter function without infinite rendering loop?
- Unexpected token with Webpack and React
- how to set value by id in react-select
- manually modifying initialState and pass it to the store before every test?
- Render dynamic list of react components from array of strings
- Execute javascript after reactjs render method has completed
- Replacement for redux hook inside a function
- Can't update React state hook from useEffect
- Query never stops fetching after refetching or invalidating
- Types not matching up when using a function to render a component
- Importing PNGs/SVGs into React - TS2307: Cannot find module
- Unable to set class name dynamically
- React.js redirect after no result found from backend fetch using useEffect
- How to wrap words with anchor tags in react if string contains certain symbols
- How to update dropdown list field based on another dropdown list in reactjs redux
- How can i use module.exports.function in es6?
- is fetch() data from API and get() data from API the same?
- How to pass input value to form onSubmit without using state in component that renders multiple forms?
- Jest can't use the HOC from js files but works correctly with HOC from tsx files
- Does a slice of react redux store state have to be an object?
- I am unable to configure reactjs
- How do I pass a prop in front of map function in react?
- Heroku - Express and React app showing blank screen when deployed
- Redux - ES6 Updating Object Element in Array