function show(d) { function normalize(val, max, min) { return (val - min) / (max - min); } var canvas = document.createElement("canvas") var ct
i'm trying to make the back to the top button on click to be smooth scrolling but i'm stuck.. at the moment this code works but its not smooth scrolling to the
I have a div card (bootstrap) in my project which contains messages from a chat. The new messages append below the old so, when the container is full the user c
I have 2 different components in my Vuejs/Nuxtjs application: pages/Create.vue and pages/Design.vue. I have the stylesheet assets/css/styles.css. Within the sty
I create a sidebar navigation base on : https://colorlib.com/etc/bootstrap-sidebar/sidebar-05/ If I append the "lorem ipsum". The side navigation will follow sc
I am a newbie here, please avoid complex answers :) A row was created to center all of its content, it worked just fine. The form submit button and the link_to
I was following a template I found online to have a modal pop up when hovering over my cards with bootstrap 5. This is my code so far: class SavedEpisodes exten
I'm new in React and a new dev in general; I know that there are many ways to style elements in React itself: importing CSS, locally scoped CSS modules, CSS-in-
I have this dropdown that I want the height to be animated. I'm using max-height to achieve this and it kinda works, but when it expands it won't do the transit
In html I use the frame on the main page but the downsampling does not appear on the main frame please solve the problem <pre> <frameset rows =
So I am trying to create this success modal box which looks absolutely fine in Google Chrome but completely breaks in Firefox. Can I please get some help with w
I am creating a HTML web page which contains a sticky navbar with drop down menu. However, when I created one, the dropdown menu does not works in the sticky na
I am trying to set verticaly icon on profile photo card inside div to be in the middle in white box(div), but dont know why it doesnt works. When I use style="w
<div class="main-div main-div2"> <!-- IF up to date, main-div3 --> <button id="update-btn" class="btn update
Im trying to put a graph that can be interactable with main page onto the canvas. ive seen many pages that use this: "#document" being used in
I'm trying to scroll some single-line labels in a single-line fixed-width container. What I've tried so far is: Create a container with fixed dimensions. Place
I was styling a button in my react js website and got this error while writing the css for it, actually I was going to animate it after hovering the mouse. its
Given the following snippet, how can I use the parent class for styling the grandchild element? <body> <div class='parent'>
since it is possible to find out if the PC is in darkmode or not I would like to know if it is possible to find out which colorschemer the User has taken e.g. y
I'm trying to centre a div but for some reason the div doesn't get centred. The code is avaialble here. In the image below you can see which is the issue.