{"id":36026,"date":"2022-07-25T16:54:28","date_gmt":"2019-11-21T15:07:47","guid":{"rendered":"https:\/\/123formbuilder.polarbuildingcleaning.net\/docs\/?p=36026"},"modified":"2023-11-24T10:43:05","modified_gmt":"2023-11-24T10:43:05","slug":"examples-of-css-codes-for-dividers","status":"publish","type":"post","link":"https:\/\/123formbuilder.polarbuildingcleaning.net\/docs\/examples-of-css-codes-for-dividers\/","title":{"rendered":"123FormBuilder allows you to change the design of your dividers with CSS on your forms"},"content":{"rendered":"\n<p>CSS makes designing web forms so much easier. With basic coding knowledge, you can create stunning-looking forms and customize their design according to your needs. With CSS you can let your imagination and creativity go wild. We offer the possibility to add your own custom CSS codes to the form using our <a href=\"\/full-css-form-customization.html\">CSS form generator<\/a>.<\/p>\n\n\n\n<p>First things first, read our article about <a href=\"https:\/\/123formbuilder.polarbuildingcleaning.net\/docs\/add-a-dividerseparator-on-the-form\/\">how to add dividers on the form<\/a>, if you haven&#8217;t already. <\/p>\n\n\n\n<p><strong>Note:<\/strong> these CSS tricks apply to the divider created using the HTML block. <\/p>\n\n\n\n<p>Any CSS code is placed in the <b>Design \u2192 Add custom CSS<\/b> section of your form within your <a href=\"\/\">form builder<\/a> account. We will provide you with the CSS code for your dividers and show the final result. Just paste the code in the Design section and the changes will apply immediately. Of course, you can adjust the code by adding your own color code, adjust the border size, and so on.<br><br>Check our CSS examples for your dividers below.<\/p>\n\n\n\n<hr class=\"wp-block-separator has-css-opacity is-style-wide\" \/>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-example-1\">Example #1<\/h2>\n\n\n\n<p><\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">hr\n{\nborder: 3px solid rgba(137, 196, 244, 1);\nbackground-color: rgba(137, 196, 244, 1);\nborder-radius: 5px;\n}<\/pre>\n\n\n\n<p>This is the result:<\/p>\n\n\n\n<p><\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/cdn.marketing123.123formbuilder.com\/wp-content\/uploads\/sites\/3\/2023\/11\/image-274.png\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"383\" src=\"https:\/\/cdn.marketing123.123formbuilder.com\/wp-content\/uploads\/sites\/3\/2023\/11\/image-274-1024x383.png\" alt=\"Divider using HTML block\" class=\"wp-image-47935\" srcset=\"https:\/\/cdn.marketing123.123formbuilder.com\/wp-content\/uploads\/sites\/3\/2023\/11\/image-274-1024x383.png 1024w, https:\/\/cdn.marketing123.123formbuilder.com\/wp-content\/uploads\/sites\/3\/2023\/11\/image-274-300x112.png 300w, https:\/\/cdn.marketing123.123formbuilder.com\/wp-content\/uploads\/sites\/3\/2023\/11\/image-274-768x287.png 768w, https:\/\/cdn.marketing123.123formbuilder.com\/wp-content\/uploads\/sites\/3\/2023\/11\/image-274-1536x574.png 1536w, https:\/\/cdn.marketing123.123formbuilder.com\/wp-content\/uploads\/sites\/3\/2023\/11\/image-274.png 1912w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/a><\/figure>\n\n\n\n<hr class=\"wp-block-separator has-css-opacity is-style-wide\" \/>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-example-2\">Example #2<\/h2>\n\n\n\n<pre class=\"wp-block-preformatted\">hr \n{ \n height: 30px; \n border-style: solid; \n border-color: #2074F4; \n border-width: 2px 0 0 0; \n border-radius: 20px; \n}<\/pre>\n\n\n\n<p>Here is the result:<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/cdn.marketing123.123formbuilder.com\/wp-content\/uploads\/sites\/3\/2023\/11\/image-275.png\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"383\" src=\"https:\/\/cdn.marketing123.123formbuilder.com\/wp-content\/uploads\/sites\/3\/2023\/11\/image-275-1024x383.png\" alt=\"Divider using HTML block\" class=\"wp-image-47936\" srcset=\"https:\/\/cdn.marketing123.123formbuilder.com\/wp-content\/uploads\/sites\/3\/2023\/11\/image-275-1024x383.png 1024w, https:\/\/cdn.marketing123.123formbuilder.com\/wp-content\/uploads\/sites\/3\/2023\/11\/image-275-300x112.png 300w, https:\/\/cdn.marketing123.123formbuilder.com\/wp-content\/uploads\/sites\/3\/2023\/11\/image-275-768x287.png 768w, https:\/\/cdn.marketing123.123formbuilder.com\/wp-content\/uploads\/sites\/3\/2023\/11\/image-275-1536x574.png 1536w, https:\/\/cdn.marketing123.123formbuilder.com\/wp-content\/uploads\/sites\/3\/2023\/11\/image-275.png 1912w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/a><\/figure>\n\n\n\n<hr class=\"wp-block-separator has-css-opacity is-style-wide\" \/>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-example-3\">Example #3<\/h2>\n\n\n\n<pre class=\"wp-block-preformatted\">hr \n{ \n width: 50%;\n margin: 3em auto; \n}<\/pre>\n\n\n\n<p>Edit your HTML block fields and center the text to have the same effect. Here is the result:<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/cdn.marketing123.123formbuilder.com\/wp-content\/uploads\/sites\/3\/2023\/11\/image-276.png\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"359\" src=\"https:\/\/cdn.marketing123.123formbuilder.com\/wp-content\/uploads\/sites\/3\/2023\/11\/image-276-1024x359.png\" alt=\"Divider using HTML block\" class=\"wp-image-47937\" srcset=\"https:\/\/cdn.marketing123.123formbuilder.com\/wp-content\/uploads\/sites\/3\/2023\/11\/image-276-1024x359.png 1024w, https:\/\/cdn.marketing123.123formbuilder.com\/wp-content\/uploads\/sites\/3\/2023\/11\/image-276-300x105.png 300w, https:\/\/cdn.marketing123.123formbuilder.com\/wp-content\/uploads\/sites\/3\/2023\/11\/image-276-768x270.png 768w, https:\/\/cdn.marketing123.123formbuilder.com\/wp-content\/uploads\/sites\/3\/2023\/11\/image-276-1536x539.png 1536w, https:\/\/cdn.marketing123.123formbuilder.com\/wp-content\/uploads\/sites\/3\/2023\/11\/image-276.png 1912w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/a><\/figure>\n\n\n\n<div class=\"warningBox\"><span style=\"font-size: 16px\"><p><b>Important Note<\/b><\/p>Keep in mind that it is not our responsibility to fix the code once you have changed it.<\/span><\/div>\n\n\n\n<p>Check out <a href=\"https:\/\/123formbuilder.polarbuildingcleaning.net\/docs\/category\/documentation\/css-tricks\/\" target=\"_blank\" rel=\"noreferrer noopener\">the CSS tricks knowledge base section<\/a> for more CSS articles.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>CSS makes designing web forms so much easier. With basic coding knowledge, you can create stunning-looking forms and customize their design according to your needs. With CSS you can let your imagination and creativity go wild. We offer the possibility to add your own custom CSS codes to the form using our CSS form generator. [&hellip;]<\/p>\n","protected":false},"author":49,"featured_media":-1,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"inline_featured_image":false,"footnotes":""},"categories":[125],"tags":[1021,1022],"class_list":["post-36026","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-css-tricks","tag-css-tricks","tag-style-divider"],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v24.2 (Yoast SEO v27.2) - https:\/\/yoast.com\/product\/yoast-seo-premium-wordpress\/ -->\n<title>Help: Customize dividers with CSS | 123FormBuilder<\/title>\n<meta name=\"description\" content=\"Follow our documentation on how to style dividers on your online form using CSS. We provide CSS examples that can be applied to the form in a few clicks.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/123formbuilder.polarbuildingcleaning.net\/docs\/examples-of-css-codes-for-dividers\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"123FormBuilder allows you to change the design of your dividers with CSS on your forms\" \/>\n<meta property=\"og:description\" content=\"Follow our documentation on how to style dividers on your online form using CSS. We provide CSS examples that can be applied to the form in a few clicks.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/123formbuilder.polarbuildingcleaning.net\/docs\/examples-of-css-codes-for-dividers\/\" \/>\n<meta property=\"og:site_name\" content=\"123FormBuilder Knowledge Base\" \/>\n<meta property=\"article:published_time\" content=\"2019-11-21T15:07:47+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2023-11-24T10:43:05+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/cdn.marketing123.123formbuilder.com\/wp-content\/uploads\/sites\/3\/2023\/11\/image-274-1024x383.png\" \/>\n<meta name=\"author\" content=\"Julia\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Julia\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"2 minutes\" \/>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"Help: Customize dividers with CSS | 123FormBuilder","description":"Follow our documentation on how to style dividers on your online form using CSS. We provide CSS examples that can be applied to the form in a few clicks.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/123formbuilder.polarbuildingcleaning.net\/docs\/examples-of-css-codes-for-dividers\/","og_locale":"en_US","og_type":"article","og_title":"123FormBuilder allows you to change the design of your dividers with CSS on your forms","og_description":"Follow our documentation on how to style dividers on your online form using CSS. We provide CSS examples that can be applied to the form in a few clicks.","og_url":"https:\/\/123formbuilder.polarbuildingcleaning.net\/docs\/examples-of-css-codes-for-dividers\/","og_site_name":"123FormBuilder Knowledge Base","article_published_time":"2019-11-21T15:07:47+00:00","article_modified_time":"2023-11-24T10:43:05+00:00","og_image":[{"url":"https:\/\/cdn.marketing123.123formbuilder.com\/wp-content\/uploads\/sites\/3\/2023\/11\/image-274-1024x383.png","type":"","width":"","height":""}],"author":"Julia","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Julia","Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/123formbuilder.polarbuildingcleaning.net\/docs\/examples-of-css-codes-for-dividers\/#article","isPartOf":{"@id":"https:\/\/123formbuilder.polarbuildingcleaning.net\/docs\/examples-of-css-codes-for-dividers\/"},"author":{"name":"Julia","@id":"https:\/\/123formbuilder.polarbuildingcleaning.net\/docs\/#\/schema\/person\/cc469207f9fad9e280a743a5dc96a843"},"headline":"123FormBuilder allows you to change the design of your dividers with CSS on your forms","datePublished":"2019-11-21T15:07:47+00:00","dateModified":"2023-11-24T10:43:05+00:00","mainEntityOfPage":{"@id":"https:\/\/123formbuilder.polarbuildingcleaning.net\/docs\/examples-of-css-codes-for-dividers\/"},"wordCount":241,"commentCount":0,"image":{"@id":"https:\/\/123formbuilder.polarbuildingcleaning.net\/docs\/examples-of-css-codes-for-dividers\/#primaryimage"},"thumbnailUrl":"https:\/\/cdn.marketing123.123formbuilder.com\/wp-content\/uploads\/sites\/3\/2023\/11\/image-274-1024x383.png","keywords":["CSS tricks","style divider"],"articleSection":["CSS Tricks"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/123formbuilder.polarbuildingcleaning.net\/docs\/examples-of-css-codes-for-dividers\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/123formbuilder.polarbuildingcleaning.net\/docs\/examples-of-css-codes-for-dividers\/","url":"https:\/\/123formbuilder.polarbuildingcleaning.net\/docs\/examples-of-css-codes-for-dividers\/","name":"Help: Customize dividers with CSS | 123FormBuilder","isPartOf":{"@id":"https:\/\/123formbuilder.polarbuildingcleaning.net\/docs\/#website"},"primaryImageOfPage":{"@id":"https:\/\/123formbuilder.polarbuildingcleaning.net\/docs\/examples-of-css-codes-for-dividers\/#primaryimage"},"image":{"@id":"https:\/\/123formbuilder.polarbuildingcleaning.net\/docs\/examples-of-css-codes-for-dividers\/#primaryimage"},"thumbnailUrl":"https:\/\/cdn.marketing123.123formbuilder.com\/wp-content\/uploads\/sites\/3\/2023\/11\/image-274-1024x383.png","datePublished":"2019-11-21T15:07:47+00:00","dateModified":"2023-11-24T10:43:05+00:00","author":{"@id":"https:\/\/123formbuilder.polarbuildingcleaning.net\/docs\/#\/schema\/person\/cc469207f9fad9e280a743a5dc96a843"},"description":"Follow our documentation on how to style dividers on your online form using CSS. We provide CSS examples that can be applied to the form in a few clicks.","breadcrumb":{"@id":"https:\/\/123formbuilder.polarbuildingcleaning.net\/docs\/examples-of-css-codes-for-dividers\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/123formbuilder.polarbuildingcleaning.net\/docs\/examples-of-css-codes-for-dividers\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/123formbuilder.polarbuildingcleaning.net\/docs\/examples-of-css-codes-for-dividers\/#primaryimage","url":"https:\/\/cdn.marketing123.123formbuilder.com\/wp-content\/uploads\/sites\/3\/2023\/11\/image-274-1024x383.png","contentUrl":"https:\/\/cdn.marketing123.123formbuilder.com\/wp-content\/uploads\/sites\/3\/2023\/11\/image-274-1024x383.png"},{"@type":"BreadcrumbList","@id":"https:\/\/123formbuilder.polarbuildingcleaning.net\/docs\/examples-of-css-codes-for-dividers\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/123formbuilder.polarbuildingcleaning.net\/docs\/"},{"@type":"ListItem","position":2,"name":"123FormBuilder allows you to change the design of your dividers with CSS on your forms"}]},{"@type":"WebSite","@id":"https:\/\/123formbuilder.polarbuildingcleaning.net\/docs\/#website","url":"https:\/\/123formbuilder.polarbuildingcleaning.net\/docs\/","name":"123FormBuilder Knowledge Base","description":"Search our documentation platform for answers, service specifications and 3rd-party integrations.","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/123formbuilder.polarbuildingcleaning.net\/docs\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/123formbuilder.polarbuildingcleaning.net\/docs\/#\/schema\/person\/cc469207f9fad9e280a743a5dc96a843","name":"Julia","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/1b07bbd30c86170f8eb191468f69aaeab7b6cfddcd35ceaf4099ab76a5dccb06?s=96&d=https%3A%2F%2Fui-avatars.com%2Fapi%2FJulia%2F96%2Ff3f3f3%2Faaa%2F1%2F0.5%2Ffalse%2Ftrue&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/1b07bbd30c86170f8eb191468f69aaeab7b6cfddcd35ceaf4099ab76a5dccb06?s=96&d=https%3A%2F%2Fui-avatars.com%2Fapi%2FJulia%2F96%2Ff3f3f3%2Faaa%2F1%2F0.5%2Ffalse%2Ftrue&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/1b07bbd30c86170f8eb191468f69aaeab7b6cfddcd35ceaf4099ab76a5dccb06?s=96&d=https%3A%2F%2Fui-avatars.com%2Fapi%2FJulia%2F96%2Ff3f3f3%2Faaa%2F1%2F0.5%2Ffalse%2Ftrue&r=g","caption":"Julia"},"url":"https:\/\/123formbuilder.polarbuildingcleaning.net\/docs\/author\/julia-unguras123formbuilder-com\/"}]}},"_links":{"self":[{"href":"https:\/\/123formbuilder.polarbuildingcleaning.net\/docs\/wp-json\/wp\/v2\/posts\/36026","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/123formbuilder.polarbuildingcleaning.net\/docs\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/123formbuilder.polarbuildingcleaning.net\/docs\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/123formbuilder.polarbuildingcleaning.net\/docs\/wp-json\/wp\/v2\/users\/49"}],"replies":[{"embeddable":true,"href":"https:\/\/123formbuilder.polarbuildingcleaning.net\/docs\/wp-json\/wp\/v2\/comments?post=36026"}],"version-history":[{"count":13,"href":"https:\/\/123formbuilder.polarbuildingcleaning.net\/docs\/wp-json\/wp\/v2\/posts\/36026\/revisions"}],"predecessor-version":[{"id":47938,"href":"https:\/\/123formbuilder.polarbuildingcleaning.net\/docs\/wp-json\/wp\/v2\/posts\/36026\/revisions\/47938"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/123formbuilder.polarbuildingcleaning.net\/docs\/wp-json\/"}],"wp:attachment":[{"href":"https:\/\/123formbuilder.polarbuildingcleaning.net\/docs\/wp-json\/wp\/v2\/media?parent=36026"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/123formbuilder.polarbuildingcleaning.net\/docs\/wp-json\/wp\/v2\/categories?post=36026"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/123formbuilder.polarbuildingcleaning.net\/docs\/wp-json\/wp\/v2\/tags?post=36026"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}