Details > Sumary
How do I make an details > sumary?
Just playing with the details element. . What is a details > sumary? How do you make a details > sumary? This script and codes were developed by Josh Vogt on 18 November 2022, Friday.
Details > Sumary - Script Codes HTML Codes
<!DOCTYPE html>
<html >
<head> <meta charset="UTF-8"> <title>Details > Sumary</title> <link rel="stylesheet" href="css/style.css">
</head>
<body> <details> <summary><h2>Is the details element a JS free interactive disclosure widget?</h2></summary> <p>Yeah, pretty sweet eh?</p>
</details>
<details> <summary><h2>Can I style the details element?</h2></summary> <p>Yeah, of course you can. And you can do some cool things like:</p> <ul> <li>Visually change state based on the presence of the open attribute</li> <li>Change the default disclosure marker</li> </ul>
</details>
<details> <summary><h2>Can we agree that the details element is awesome?</h2></summary> <p>Yes.</p>
</details>
</body>
</html>
Details > Sumary - Script Codes CSS Codes
@charset "UTF-8";
* { box-sizing: border-box; position: relative; font-family: sans-serif;
}
* + * { margin-top: 20px;
}
details { padding: 0 10px;
}
summary { padding: 5px 10px;
}
summary h2 { display: inline;
}
details:not([open]) summary { background: #ccc;
}
details[open] summary { background: #007ac9; color: #fff;
}
details:nth-of-type(3) summary::-webkit-details-marker { display: none;
}
details:nth-of-type(3) summary { background: #cdcdcd; padding-left: 40px;
}
details:nth-of-type(3) summary::before { content: "
Developer | Josh Vogt |
Username | josh_vogt |
Uploaded | November 18, 2022 |
Rating | 3 |
Size | 2,487 Kb |
Views | 12,144 |
Find the perfect freelance services for your business! Fiverr's mission is to change how the world works together. Fiverr connects businesses with freelancers offering digital services in 500+ categories. Find Developer!
Name | Size |
A Pen by Josh Vogt | 2,910 Kb |
Header - search v3 | 4,093 Kb |
Hidden Panel | 3,232 Kb |
CSS Grid Layout - Off Canvas Navigation | 2,830 Kb |
Workopolis SVG Logo - Animated | 4,093 Kb |
Repeating Content Module - Expanding | 2,475 Kb |
Animating Flexbox Properties | 2,571 Kb |
Header - search v1 | 4,595 Kb |
Toggle - Slider | 3,074 Kb |
Header - search v2 | 4,527 Kb |
Jasper is the AI Content Generator that helps you and your team break through creative blocks to create amazing, original content 10X faster. Discover all the ways the Jasper AI Content Platform can help streamline your creative workflows. Start For Free!
Name | Username | Size |
Sass random color animation | Jotavejv | 4,827 Kb |
Slide like Mailbox | Hmps | 3,758 Kb |
SCSS Simple Animated Drop-In | Danwarfel | 2,175 Kb |
Countdown Timer | Massiebn | 3,001 Kb |
ABVI Menu Discarded | Overdrivemachines | 3,607 Kb |
Twitch JSON API | Jvhti | 2,808 Kb |
GsuiPopup | Mr21 | 2,641 Kb |
FontAwesome icons with animation | Nicotinell | 2,083 Kb |
Font stack | Adrianjacob | 1,868 Kb |
Importable Clearfix | Corysimmons | 1,411 Kb |
Surf anonymously, prevent hackers from acquiring your IP address, send anonymous email, and encrypt your Internet connection. High speed, ultra secure, and easy to use. Instant setup. Hide Your IP Now!