2022.2

Table Of Contents
<div class="row">
<div class="small-2 large-4 columns">Content goes here</div>
<div class="small-4 large-4 columns">Content goes here</div>
<div class="small-6 large-4 columns">Content goes here</div>
</div>
TheDivelementsinsidetherowtakeup2,4and6partsofthetotalamountofscreensize(dividedin
12parts)onasmallscreen.Onalargescreentheyeachtakeonethirdoftheavailablespace.Ifthe
classlarge-4wouldhavebeenleftout,theDivswouldtakeup2,4and6partsoftheavailablespace,
regardlessofthescreensize.
There'smorethatyoucandowiththeGrid,forexample,youcouldcentercolumns,orswitchcolumns
dependingonthescreensizetheyareviewedon.Forinformationaboutallthesepossibilities,seethis
website:http://foundation.zurb.com/sites/docs/v/5.5.3/components/grid.html.
Adding Divs and classes to a Connect Form template
ToinsertaDiv,selectInsert > Structural Elements > Divonthemenu.ToaddaclasstotheDiv,
selecttheDiv(see"Selectinganelement"onpage570)andtypetheclassintheClassfieldonthe
Attributespane.
ToaddGridrowsandcolumnsquickly,youcouldalsousetheGridsnippetsorRowsnippets,foundin
theSnippetsfolderontheResourcespaneafterusingawizardtocreateaFoundationwebpageora
CaptureOnTheGotemplate.FormoreinformationaboutSnippets,see"Snippets"onpage661.For
moreinformationabouttemplatewizards,see"CreatingaWebtemplatewithaWizard"onpage493
and"CaptureOnTheGotemplatewizards"onpage525.
Alternatively,IfyouarefamiliarwithHTML,youcanopentheSourcetaboftheWorkspaceandsimply
typetheHTMLtoaddtheDivelementsandclasses.
Tip: UseEmmettocreateaGridlayoutonthesourcetabreallyfast.See"Emmet"onpage473.
OtherFoundationcomponents
FoundationcomeswithmanyothercomponentstoimproveandembellishWebformsandpages.A
fewexamples:
l
AnAccordioncanbeusedtoexpandandcollapsecontentthatisbrokenintologicalsections,
muchliketabs.Itcanbeveryusefulonlongforms.
l
AnOff-Canvas menuletstheusernavigatebetweenlevel4headings(<h4>)inaWebpageor
form.CaptureOnTheGoTemplatewizardsoffertheoptiontoaddthismenuautomatically.
l
SwitchesaretoggleelementsthatswitchbetweenanOffandOnstateontaporclick.They
makeuseofcheckboxinputs(orradiobuttons)andrequirenojavascript.Theirsizecanbeadap-
ted,tomakethemeasytouseonatouchscreen.
Page 530