skip to Main Content

Css – div to take the rest of height

hello I want to make the last div to take the rest of height im using tailwind I tried this : function Home() { const [expanded, setExpanded] = useState(true); return ( <div className="flex h-screen"> <SidebarContext.Provider value={{ expanded, setExpanded }}> <SideBarContent…

VIEW QUESTION

Javascript – How to select an element within the classlist and manipulate it

Here is the HTML and JS I am working with: <!DOCTYPE html> <html class="scroll-smooth scrollpadding"> <html lang="de"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>my name</title> <link rel="stylesheet" href="styles.css"> </head> <body> <nav class="hidden md:block sticky top-0"> <div id="primary-navigation" class="flex max-h-20…

VIEW QUESTION
Back To Top
Search