缓存标题:Bootstrap · The most popular HTML, CSS, and JS library in the world.
缓存内容:Skip to main contentSearchKDocsExamplesIconsThemesBlogBootstrap v5.3 (switch to other versions)New!Never-Ending Support for BootstrapBuild fast, responsive sites with BootstrapPowerful, extensible, and feature-packed frontend toolkit. Build and customize with Sass, utilize prebuilt grid system and components, and bring projects to life with powerful JavaScript plugins.npm i [email protected] the docsCurrently v5.3.3 · Download · All releasesGet started any way you wantJump right into building with Bootstrap—use the CDN, install it via package manager, or download the source code.Read installation docsInstall via package managerInstall Bootstrap’s source Sass and JavaScript files via npm, RubyGems, Composer, or Meteor. Package managed installs don’t include documentation or our full build scripts. You can also use any demo from our Examples repo to quickly jumpstart Bootstrap projects.npm install [email protected] install bootstrap -v 5.3.3Read our installation docs for more info and additional package managers.Include via CDNWhen you only need to include Bootstrap’s compiled CSS or JS, you can use jsDelivr. See it in action with our simple quick start, or browse the examples to jumpstart your next project. You can also choose to include Popper and our JS separately.Read our getting started guidesGet a jump on including Bootstrap's source files in a new project with our official guides.WebpackParcelViteCustomize everything with SassBootstrap utilizes Sass for a modular and customizable architecture. Import only the components you need, enable global options like gradients and shadows, and write your own CSS with our variables, maps, functions, and mixins.Learn more about customizingInclude all of Bootstrap’s SassImport one stylesheet and you're off to the races with every feature of our CSS.// Variable overrides first$primary: #900;$enable-shadows: true;$prefix: "mo-";// Then import Bootstrap@import "../node_modules/bootstrap/scss/bootstrap";Learn more about our global Sass options.Include what you needThe easiest way to customize Bootstrap—include only the CSS you need.// Functions first@import "../node_modules/bootstrap/scss/functions";// Variable overrides second$primary: #900;$enable-shadows: true;$prefix: "mo-";// Required Bootstrap imports@import "../node_modules/bootstrap/scss/variables";@import "../node_modules/bootstrap/scss/variables-dark";@import "../node_modules/bootstrap/scss/maps";@import "../node_modules/bootstrap/scss/mixins";@import "../node_modules/bootstrap/scss/root";// Optional components@import "../node_modules/bootstrap/scss/utilities";@import "../node_modules/bootstrap/scss/reboot";@import "../node_modules/bootstrap/scss/containers";@import "../node_modules/bootstrap/scss/grid";@import "../node_modules/bootstrap/scss/helpers";@import "../node_modules/bootstrap/scss/utilities/api";Learn more about using Bootstrap with Sass.Build and extend in real-time with CSS variablesBootstrap 5 is evolving with each release to better utilize CSS variables for global theme styles, individual components, and even utilities. We provide dozens of variables for colors, font styles, and more at a :root level for use anywhere. On components and utilities, CSS variables are scoped to the relevant class and can easily be modified.Learn more about CSS variablesUsing CSS variablesUse any of our global :root variables to write new styles. CSS variables use the var(--bs-variableName) syntax and can be inherited by children elements..component { color: var(--bs-gray-800); background-color: var(--bs-gray-100); border: 1px solid var(--bs-gray-200); border-radius: .25rem;}.component-header { color: var(--bs-purple);}Customizing via CSS variablesOverride global, component, or utility class variables to customize Bootstrap just how you like. No need to redeclare each rule, just a new variable value.body { --bs-body-font-family: var(--bs-font-monospace); --bs-body-line-height: 1.4; --bs-body-bg: var(--bs-gray-100);}.table { --bs-table-color: var(--bs-gray-600); --bs-table-bg: var(--bs-gray-100); --bs-table-border-color: transparent;} Components, meet the Utility APINew in Bootstrap 5, our utilities are now generated by our Utility API. We built it as a feature-packed Sass map that can be quickly and easily customized. It's never been easier to add, remove, or modify any utility classes. Make utilities responsive, add pseudo-class variants, and give them custom names.Quickly customize componentsApply any of our included utility classes to our components to customize their appearance, like the navigation example below. There are hundreds of classes available—from positioning and sizing to colors and effects. Mix them with CSS variable overrides for even more control.HomeProfileContactHomeProfileContact
Explore customized componentsCreate and extend utilitiesUse Bootstrap's utility API to modify any of our included utilities or create your own custom utilities for any project. Import Bootstrap first, then use Sass map functions to modify, add, or remove utilities.@import "bootstrap/scss/bootstrap";$utilities: map-merge( $utilities, ( "cursor": ( property: cursor, class: cursor, responsive: true, values: auto pointer grab, ) ));Explore the utility APIPowerful JavaScript plugins without jQueryAdd toggleable hidden elements, modals and offcanvas menus, popovers and tooltips, and so much more—all without jQuery. Bootstrap's JavaScript is HTML-first, meaning most plugins are added with data attributes in your HTML. Need more control? Include individual plugins programmatically.Learn more about Bootstrap JavaScriptData attribute APIWhy write more JavaScript when you can write HTML? Nearly all of Bootstrap's JavaScript plugins feature a first-class data API, allowing you to use JavaScript just by adding data attributes.Dropdown
Learn more about our JavaScript as modules and using the programmatic API.Comprehensive set of pluginsBootstrap features a dozen plugins that you can drop into any project. Drop them in all at once, or choose just the ones you need.AlertShow and hide alert messages to your users.ButtonProgrammatically control the active state for buttons.CarouselAdd slideshows to any page, including support for crossfade.CollapseExpand and collapse areas of content, or create accordions.DropdownCreate menus of links, actions, forms, and more.ModalAdd flexible and responsive dialogs to your project.OffcanvasBuild and toggle hidden sidebars into any page.PopoverCreate custom overlays. Built on Popper.ScrollspyAutomatically update active nav links based on page scroll.TabAllow Bootstrap nav components to toggle contents.ToastShow and hide notifications to your visitors.TooltipReplace browser tooltips with custom ones. Built on Popper.Personalize it with Bootstrap IconsBootstrap Icons is an open source SVG icon library featuring over 1,800 glyphs, with more added every release. They're designed to work in any project, whether you use Bootstrap itself or not. Use them as SVGs or icon fonts—both options give you vector scaling and easy customization via CSS.Get Bootstrap IconsMake it yours with official Bootstrap ThemesTake Bootstrap to the next level with premium themes from the official Bootstrap Themes marketplace. Themes are built on Bootstrap as their own extended frameworks, rich with new components and plugins, documentation, and powerful build tools.Browse Bootstrap ThemesBootstrapDesigned and built with all the love in the world by the Bootstrap team with the help of our contributors.Code licensed MIT, docs CC BY 3.0.Currently v5.3.3.LinksHomeDocsExamplesIconsThemesBlogSwag StoreGuidesGetting startedStarter templateWebpackParcelViteProjectsBootstrap 5Bootstrap 4IconsRFSExamples repoCommunityIssuesDiscussionsCorporate sponsorsOpen CollectiveStack Overflow
缓存内容:GIZMODOJALOPNIKKOTAKUQUARTZTHE ROOTTHE ONIONTHE INVENTORYSend us a Tip!ShopSubscribeThe Future Is HereSearchHOMELATESTNEWSREVIEWSSCIENCEEARTHERIO9AISPACEESPAÑOLVIDEOEDITIONSPRIVACY AND SECURITYThere's One Big Problem With the New Federal Data Privacy BillA new proposal for federal privacy legislation has bipartisan support but we've been here before.Lucas RopekTRAILER FRENZYJoker: Folie à Deux's First Trailer Sends in the ClownsJames WhitbrookANIMALS42 Arresting Photos of Wildlife in ActionIsaac SchultzNEWSBest Moments From Elon Musk's Deposition He Doesn't Want You to ReadMaxwell ZeffSPACEWhat Were Those Bright Red Dots Seen During the Eclipse?George DvorskyCULTUREHow Dangerous Is a Microwave Oven That’s Running With the Door Open?Maxwell ZeffENERGYGeorgia’s Vogtle Plant Could Be the Beginning—or the End—of America's New Nuclear EraThe $35 billion nuclear project is an investment in the future or a cautionary tale, depending whom you ask.Gautama Mehta, GristMOVIESDaisy Ridley Is Finally Ready for Her Star Wars ReturnThere's no script yet for the Lucasfilm feature, which is set to be directed by Sharmeen Obaid-Chinoy.Sabina GravesMOVIESAMC Exec: We Wouldn't Have Made the Dune Popcorn Bucket if We Knew You'd Be Sickos About ItYou sexualized a perfectly good popcorn bucket is what you did, now look at it, that theater chain's got anxietyJames WhitbrookLatestView AllJoker: Folie à Deux's First Trailer Sends in the ClownsYesterdayJourney to Middle-earth in a New Immersive Musical Based onThe Lord of the Rings YesterdayI Went to CinemaCon and Got Caught in Twisters’ Suck TubeYesterdayWill the Fallout TV Series Radiate the Tone of the Video Games?YesterdayThere's One Big Problem With the New Federal Data Privacy BillYesterdayNASA's Lunar Orbiter Captures Fuzzy Glimpse of Separate Spacecraft Around the MoonYesterdayTexas Launches AI Grader for Student Essay Tests But Insists It's Not Like ChatGPTYesterdayBest Moments From Elon Musk's Deposition He Doesn't Want You to ReadYesterdayAliens' Villain Carter Burke Is Back! And Paul Reiser Told Us All About ItYesterdayNewslettersStay up to date with these informative newsletters delivered to your inbox dailyNewsThere's One Big Problem With the New Federal Data Privacy BillTexas Launches AI Grader for Student Essay Tests But Insists It's Not Like ChatGPTScienceNASA's Lunar Orbiter Captures Fuzzy Glimpse of Separate Spacecraft Around the Moon42 Arresting Photos of Wildlife in ActionHardwareThe Best Gaming Laptops You Can Buy in 2024Best Wireless Earbuds in 2024EartherGeorgia’s Vogtle Plant Could Be the Beginning—or the End—of America's New Nuclear EraAmazon Is Ditching Plastic Packaging Abroad—but Using Even More in the U.S.io9Joker: Folie à Deux's First Trailer Sends in the ClownsJourney to Middle-earth in a New Immersive Musical Based onThe Lord of the RingsI Went to CinemaCon and Got Caught in Twisters’ Suck Tube01:11Will the Fallout TV Series Radiate the Tone of the Video Games?Daisy Ridley Is Finally Ready for Her Star Wars ReturnWatchGrading Cards with AI | AI UnlockedCCShareGrading Cards with AI | AI UnlockedThe Dell XPS Looks Great, Doesn’t Feel Great02:39Giancarlo Esposito Instantly Knew Baby Yoda was the star of The Mandalorian02:35Samsung’s Latest QLEDs and OLEDs Do the Hard Work For Great Gaming02:50The Fujifilm X100VI is the Most Fun I’ve Had With a Camera in Years02:18Gizmodo Deals of the DayG/O Media may get a commissionView AllTHE INVENTORYBest Deals of the Day: Best Buy, Medterra THC Seltzer, H&R Block,...The Inventory StaffSAMSUNG 50" Class QLED 4K QN90D Series Neo Quantum HDR Smart TVTransform your viewing experience with the cutting-edge SAMSUNG 50-Inch Class QLED 4K QN90D Series Neo Quantum HDR Smart TV.Spring Audio Event at Best BuyCatch deals on soundbars and wireless buds for long Spring walks or immersive movie marathons on rainy days.Most SearchedAMC Exec: We Wouldn't Have Made the Dune Popcorn Bucket if We Knew You'd Be Sickos About ItBest Moments From Elon Musk's Deposition He Doesn't Want You to Read42 Arresting Photos of Wildlife in ActionElon Musk Confirms He’s Been Roleplaying as a Toddler for YearsWhat Were Those Bright Red Dots Seen During the Eclipse?SpaceflightShow allNASA's Lunar Orbiter Captures Fuzzy Glimpse of Separate Spacecraft Around the MoonULA Successfully Launches Its 'Most Metal' Rocket for the Last TimeMake Beautiful Things: The Aesthetic Drive Behind Rocket Lab’s Rise in AerospaceVirgin Galactic Accuses Boeing of 'Shoddy' Work in Its Countersuit Over Failed AgreementNASA Figured Out Why Its Voyager 1 Probe Has Been Glitching for MonthsSpace Junk Just Fell on Your Home, Now What?ReviewsShow allBUYERS GUIDEThe Best Gaming Laptops You Can Buy in 2024Kyle BarrHEADPHONESBest Wireless Earbuds in 2024Dua RashidHEADPHONESBest Running Earbuds in 2024Dua RashidBUYERS GUIDEThe Best Printers You Can Buy Right NowDavid NieldSamsung Galaxy S24Samsung Galaxy S24+ vs. Galaxy S24 Ultra: Which One Should You Buy?Samsung Galaxy S24 Ultra: What I Love and What I Don'tSamsung Galaxy S24 Ultra Review: Almost Everything You Could Want in a PhoneiPhone 15 Pro Max Vs Samsung S24 Ultra Battery Life: Apple Finally Has Some CompetitionWhich Samsung Galaxy S24 Is Right for You?Samsung Galaxy S24: Everything You Should Know Before You BuyHow ToShow allHOW TOHow to Screen Record on an iPadHOW TOHow to Clear Your Browser Cache on MacBooksHOW TOHow to Force Quit Unruly Apps and Check on Which Are Slowing Down Your MacHOW TOHow to Use Your iPad as a Second Screen for Your MacView AllJoker: Folie à Deux's First Trailer Sends in the ClownsStarring Oscar winner Joaquin Phoenix and Lady Gaga, the Joker sequel hits theaters October 4.James WhitbrookJourney to Middle-earth in a New Immersive Musical Based onThe Lord of the RingsI Went to CinemaCon and Got Caught in Twisters’ Suck TubeWill the Fallout TV Series Radiate the Tone of the Video Games?Daisy Ridley Is Finally Ready for Her Star Wars ReturnYesterdayAliens' Villain Carter Burke Is Back! And Paul Reiser Told Us All About ItYesterdayGame of Thrones' Jon Snow Spin-Off Will Know Nothing (Because It's Dead)YesterdayView AllGeorgia’s Vogtle Plant Could Be the Beginning—or the End—of America's New Nuclear EraThe $35 billion nuclear project is an investment in the future or a cautionary tale, depending whom you ask.Gautama Mehta, GristAmazon Is Ditching Plastic Packaging Abroad—but Using Even More in the U.S.Thursday 12:21PMA Toxic Grass Is Spreading in the U.S., Threatening LivestockMarch 29, 2024Emission Impossible: Two Reporters Tried to Ditch Natural Gas. Chaos EnsuedMarch 25, 2024Trackers Placed in Amazon Packaging Reveal What Really Happens to Store Drop-Off RecyclingThe EPA Is Cracking Down on the Carcinogen Used to Sterilize Medical EquipmentKitten Season Is a 'Natural Disaster' That's Only Getting WorseThe Pentagon Is Trying to Dodge Lawsuits Over a Product It Helped InventScienceShow allSPACEFLIGHTNASA's Lunar Orbiter Captures Fuzzy Glimpse of Separate Spacecraft Around the MoonA pair of lunar spacecraft zipped past each other as they traveled in nearly parallel orbits.Passant RabieANIMALS42 Arresting Photos of Wildlife in ActionIsaac SchultzSPACEWhat Were Those Bright Red Dots Seen During the Eclipse?George DvorskySPACEFLIGHTULA Successfully Launches Its 'Most Metal' Rocket for the Last TimePassant RabieSPACEThe Moon Likely Turned Itself Inside Out 4.2 Billion Years AgoPassant RabieEditor's PicksGAMES'Everything Is a Story' Inside Wyrmwood Gaming's Narcissistic FunhouseSPACEFLIGHTSpace Force Isn’t Quite What You Think It IsFACEBOOKWe’re Making the Facebook Papers Public. Here’s Why and HowEverything We KnowMarvel Release Dates: When to See Upcoming MCU Movies and Disney+ ShowsDC Release Dates: When to See DCEU Movies and HBO Max ShowsStar Wars Release Dates: When to See Upcoming Movies & Disney+ ShowsEverything We Know About the Future of Doctor WhoEverything We Know About James Cameron's Avatar SequelsStar Trek Release Dates: When to Expect All the ShowsHow to Tip GizmodoHave something you think we should know? You can email any of our writers directly, or send general tips to [email protected] StaffBuyers GuideBUYERS GUIDEThe Best TVs to Buy in 2024David NieldBUYERS GUIDEThe Best Laptops for Under $1,500 You Can Buy Right NowKyle BarrBUYERS GUIDEThe Best Phones You Can Buy in 2024Florence IonBUYERS GUIDEThe Best and Weirdest Work From Home Gear in 2024Kyle Barr
缓存标题:Scale & Ship Faster with a Composable Web Architecture | Netlify
缓存内容:How is AI influencing the web and those building for it? Join us for a virtual event on April 25th. Learn more.Close announcement barSite navigationGo to homepageSkip to contentPlatformToggle platform submenuSolutionsToggle solutions submenuIntegrationsStart BuildingToggle start building submenuDocsPricingSearchContactLog inSign upConnect everything. Build anything.Netlify is the essential platform for the delivery of exceptional and dynamic web experiences, without limitations.Deploy to NetlifyRequest demoPlay the videoNetlify Composable Web PlatformStreamlined orchestration, simplified and unified workflows, and real-time updates across infrastructure, workflows, websites and teams — all supported by Enterprise-grade security, services, and a world-class partner ecosystem.FRONTEND CLOUDDeploy fasterNetlify Core is a frontend cloud solution for developers to build and deploy future-proof digital solutions with modern, composable tooling that works with all modern frameworks.Learn more about Core DATA LAYERUnify all contentNetlify Connect is a data unification layer that gives web teams the freedom to create world-class websites, online stores, and applications with data from any existing or new content source.Learn more about Connect VISUAL EDITORClick, edit, publishNetlify Create gives digital teams the freedom to autonomously perform content and website updates faster than ever before with an intuitive visual editor.Learn more about Create Explore the PlatformEnterprises run on NetlifyShip yourlanding pagein just a few clicksSpin up a new project, or connect an existing, and explore rollbacks, CI/CD, edge functions, collaborative deploy previews, and more.Read the docsDeveloper Hube-commerce siteexport function CartMain({layout, cart}: CartMainProps) { const linesCount = Boolean(cart?.lines?.nodes?.length || 0); const withDiscount = cart && Boolean(cart.discountCodes.filter((code) => code.applicable).length); const className = `cart-main ${withDiscount ? 'with-discount' : ''}`; return (