Neptune#Debug# Display: blockI was coding a website and found an issue like this:Aug 26, 2021Aug 26, 2021
NeptuneSetting a background image with React inline styleIt is quite tricky to use inline style CSS in React.May 17, 2021May 17, 2021
NeptuneUse npm ‘react-material-ui-carousel’ in ReactI was thinking to build a “carousel effect” for photos on my personal website one day and I suddenly thought of Bootstrap carousel. I used…Apr 24, 20211Apr 24, 20211
NeptuneUse npm ‘react-scroll’ in ReactSuppose that we have built a navbar in React using pure CSS, the next step is to make it more functional. For example, we have four links…Apr 24, 2021Apr 24, 2021
NeptuneReact sticky & scrollable navbarUsing Window.scrollY to detect whether the page is scrolled or not, then add the corresponding class name.Apr 23, 2021Apr 23, 2021