Kevin Powell - Community

KPC

Kevin Powell - Community

A friendly place for developers to meet other devs, ask questions, get help, and just have a good time ๐Ÿ™‚.

Join

front-end

resources

back-end

ui-ux

os-and-tools

help

SVG Circle

I made a circle in svg. It is supposed to be a speedometer for a Game UI, i'm also using Vue as a Framework. Dasharray 766 is the full circle, 577 is 3/4 of it. Normally when i have a circle like this and i set the Dashoffset to the exact number as the Dasharray the stroke is empty, but with this circle, the rest that wasn't filled out before now gets filled out. Idk if i'm doing something wrong. ...

How to build a Tour like guide to teach people your web app.

Is there any nice tutorial in video or written format on how to build a interactive Guide to the site. Like seen on for example this theme (https://facit-modern.omtanke.studio/ , when pressing on the flag icon in right top). I always wanted to do something like this and was wondering if there is any good sources/ tutorials to build this?...

I need help

Can someone help me with my responsive website? Let's hop on a call. Thanks in advanceโ˜บ๏ธ

How to do this with tailwind css?

I want this to line in both sides of "or" text. How to do this with tailwind css?

Help in fluid cursor Animation

Hello, In this github repo, there is fluid cursor animation. But the problem is it works when user clicked or click and drag. I want to create it follow the cursor even without clicking. Can you help me ? Here is the github repo: https://github.com/malik-tillman/Fluid-JS...

flex grow on grid

so I have this grid and want the last image to grow. How can I do that with grid? in the second image i have the code being used for the grid layout...

Default required input styling

Hey everyone, I'm trying to style an required input differently based on if it's in its default state, versus when a user either gives an invalid input or tries to submit the form before giving a valid input. I thought I could use the :user-invalid pseudo selector mentioned on MDN but only firefox and Safari support it at the moment. Using a combination of :required, :blank and :invalid also won't work because no one supports :blank. Any ideas? TLDR: I don't required inputs to be automatically invalid and red when loaded and need help changing that....

Height Question

Hello, I created a section with min-height: 100vh. Inside of this section, is main with a height of 100%. Being that main is a child of section which has a defined height, 100% should fill up space, but isn't? How could I fix this? Do I need to give main a defined height in pixels?...

Creating seamless transition between pages, idea's on how this is done?

I found this website: https://aboutcoolblue.com/nl/. By clicking on one of the navigation items (1 through 6, 7 doesn't seem to do the same thing) in the center of the page everything seems to transition so seamless without any sort of reload of the resources. Looks like the <head> stays the same for example when switching pages. Does anyone know how this is done?...

Typecasting CJS "module"

How would you typecast the requireFromString function in this StackOverflow answer? https://stackoverflow.com/questions/17581830...

Header's Border Line Reacting to Main

I don't know how is that possible to be happening, so here I am. Here is the piece of the codes: HTML:...

Help with Flexbox Nav Bar.

I am a beginner in CSS and I wanted to create a navbar. I made an absolute div with css and used flex bot to justify it evenly. but the main Nav with the links is not in the center of the page, how can I fix it? Thanks a lot.

Why is my picture overflowing in my grid

Can someone help me with this problem? My image is overflowing but I don't understand why. https://codepen.io/commproNL/pen/mdQWmqY...

How to center this div?

I am using tailwind css. The "Sign in" text has "text-center" property I want the above component in centre too. How to do that?...

Twitter clone - Post component

Requirement: It is possible to set the upper limit of words in the Search box, If the upper limit is exceeded, the Submit button cannot be clicked, and the background of the text that exceeds the upper limit will be displayed The color is shown in red. For example, the upper limit of the text is 3. When the user enters ABCD, only the background of D will be dyed red at this time ...

How to mask sibling divs

I am currently designing my portfolio and I've been wondering how do I achieve this design in css? I tried making it but I don't know how to hide the overflowing of the shape. this is my sass
`html,...

Need help replicating an animation

Hi all, I'm trying to replicate/make an animation similar to what You see in the image which is a sort of..., circuit board animation(?), I don't really know the proper name for it nor can I find any tutorials, anyway, the animation starts off with just the square/rectangle and then lines/traces (Whatever You wanna call them, lol) branch outwards from the center. Now, I want to try and replicate exactly this (The colors don't matter for now btw, I can do those later) but make it so that it branches out on 4 all sides and also make it so that the lines don't overlap each other / go on top of one another when randomly generated. So far I've only been able to find the odd one or two Codepen.io example which has that line/trace effect like this one in particular: https://codepen.io/loktar00/pen/rNMKZq but, it doesn't start from the center, sadly; the lines/traces start at random positions based on the (entered) values for startTraces and totalTraces in the top right part of the screen....

Trying to get a layout based on a wireframe but not sure if the HTML and CSS is right

My issue is trying to achieve the attached layout below but I dont think my setup is correct. I'm using pico css to help with some designs im not good at and trying to get it to where the tabs for hourly, monthly, daily are accordions that will eventually generate the weather from the backend. I'm also giving the user the option to change units for temp. There is a sidebar where their favorites are stored. Please let me know what I did wrong here. here is my pen https://codepen.io/MD-2016/pen/Po...

Hello everyone im trying to add the real G of google but i can't realy find it

i cant create a letter G of google same as it is ( or would u suggest me to download the image)