{"id":6934,"date":"2021-07-22T12:15:23","date_gmt":"2021-07-22T12:15:23","guid":{"rendered":"https:\/\/www.scmgalaxy.com\/tutorials\/?p=6934"},"modified":"2021-07-22T12:15:24","modified_gmt":"2021-07-22T12:15:24","slug":"css-tutorial-part-3","status":"publish","type":"post","link":"https:\/\/www.scmgalaxy.com\/tutorials\/css-tutorial-part-3\/","title":{"rendered":"CSS tutorial part-3"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\"><strong>CSS Border:-<\/strong> <\/p>\n\n\n\n<p class=\"wp-block-paragraph\">The CSS border is a property is used to set the border on an element. <\/p>\n\n\n\n<p class=\"wp-block-paragraph\">The\u00a0CSS\u00a0border properties are use to specify the style, color and size of the border of an element. The CSS border properties are given below<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>border-style<\/li><li>border-color<\/li><li>border-width<\/li><li>border-radius<\/li><\/ul>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>1.CSS border-style:- <\/strong>The Border style property is used to specify the border type which you want to display on the web page.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">There are some border style values which are commenly used for boder-style property. Try it yourself:-<\/p>\n\n\n\n<script src=\"https:\/\/gist.github.com\/shashank969\/5f0403aa7eb3576ee6d8728eb3f2ebea.js\"><\/script>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>2. CSS border-width:- <\/strong>This property is used to set the border&#8217;s width. It is set in pixels. we can also use the one of the three pre-defined values, thin, medium or thick to set the width of the border. Example:-<\/p>\n\n\n\n<script src=\"https:\/\/gist.github.com\/shashank969\/249156f294b3083ed5299d79cba131e4.js\"><\/script>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>3. CSS border-colour:-  <\/strong>This property is used to set the border color. There are methods to set the color of the border.<\/p>\n\n\n\n<ol class=\"wp-block-list\"><li>Name: It specifies the color name. For example:&#8221;red&#8221;.<\/li><li>RGB: It specifies the RGB value of the color. For example: &#8220;rgb(255,0,0)&#8221;.<\/li><li>Hex: It specifies the hex value of the color. For example: &#8220;#ff0000&#8221;<\/li><\/ol>\n\n\n\n<p class=\"wp-block-paragraph\">There is also a border color named &#8220;transparent&#8221;. If the border color is not set it is inherited from the color property of the element.<\/p>\n\n\n\n<script src=\"https:\/\/gist.github.com\/shashank969\/45849b4be3a891598f0e46ea358af742.js\"><\/script>\n","protected":false},"excerpt":{"rendered":"<p>CSS Border:- The CSS border is a property is used to set the border on an element. The\u00a0CSS\u00a0border properties are [&hellip;]<\/p>\n","protected":false},"author":19,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_joinchat":[],"footnotes":""},"categories":[1],"tags":[5134],"class_list":["post-6934","post","type-post","status-publish","format-standard","hentry","category-uncategorized","tag-css"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v28.4 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>CSS tutorial part-3 - scmGalaxy<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.scmgalaxy.com\/tutorials\/css-tutorial-part-3\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"CSS tutorial part-3 - scmGalaxy\" \/>\n<meta property=\"og:description\" content=\"CSS Border:- The CSS border is a property is used to set the border on an element. The\u00a0CSS\u00a0border properties are [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.scmgalaxy.com\/tutorials\/css-tutorial-part-3\/\" \/>\n<meta property=\"og:site_name\" content=\"scmGalaxy\" \/>\n<meta property=\"article:published_time\" content=\"2021-07-22T12:15:23+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2021-07-22T12:15:24+00:00\" \/>\n<meta name=\"author\" content=\"shashank K\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"shashank K\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"1 minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/css-tutorial-part-3\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/css-tutorial-part-3\\\/\"},\"author\":{\"name\":\"shashank K\",\"@id\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/#\\\/schema\\\/person\\\/c88b513657ea9e9a6cd8a9b3a3bff6f3\"},\"headline\":\"CSS tutorial part-3\",\"datePublished\":\"2021-07-22T12:15:23+00:00\",\"dateModified\":\"2021-07-22T12:15:24+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/css-tutorial-part-3\\\/\"},\"wordCount\":213,\"commentCount\":0,\"keywords\":[\"css\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/css-tutorial-part-3\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/css-tutorial-part-3\\\/\",\"url\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/css-tutorial-part-3\\\/\",\"name\":\"CSS tutorial part-3 - scmGalaxy\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/#website\"},\"datePublished\":\"2021-07-22T12:15:23+00:00\",\"dateModified\":\"2021-07-22T12:15:24+00:00\",\"author\":{\"@id\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/#\\\/schema\\\/person\\\/c88b513657ea9e9a6cd8a9b3a3bff6f3\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/css-tutorial-part-3\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/css-tutorial-part-3\\\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/css-tutorial-part-3\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"CSS tutorial part-3\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/#website\",\"url\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/\",\"name\":\"scmGalaxy\",\"description\":\"A Platform for Software Engineers\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/#\\\/schema\\\/person\\\/c88b513657ea9e9a6cd8a9b3a3bff6f3\",\"name\":\"shashank K\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/a1d7da7c43d650339f6ab219ed52f462ee8ce994ce0d45b50c0700eead0676a4?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/a1d7da7c43d650339f6ab219ed52f462ee8ce994ce0d45b50c0700eead0676a4?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/a1d7da7c43d650339f6ab219ed52f462ee8ce994ce0d45b50c0700eead0676a4?s=96&d=mm&r=g\",\"caption\":\"shashank K\"},\"url\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/author\\\/shashank\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"CSS tutorial part-3 - scmGalaxy","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:\/\/www.scmgalaxy.com\/tutorials\/css-tutorial-part-3\/","og_locale":"en_US","og_type":"article","og_title":"CSS tutorial part-3 - scmGalaxy","og_description":"CSS Border:- The CSS border is a property is used to set the border on an element. The\u00a0CSS\u00a0border properties are [&hellip;]","og_url":"https:\/\/www.scmgalaxy.com\/tutorials\/css-tutorial-part-3\/","og_site_name":"scmGalaxy","article_published_time":"2021-07-22T12:15:23+00:00","article_modified_time":"2021-07-22T12:15:24+00:00","author":"shashank K","twitter_card":"summary_large_image","twitter_misc":{"Written by":"shashank K","Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.scmgalaxy.com\/tutorials\/css-tutorial-part-3\/#article","isPartOf":{"@id":"https:\/\/www.scmgalaxy.com\/tutorials\/css-tutorial-part-3\/"},"author":{"name":"shashank K","@id":"https:\/\/www.scmgalaxy.com\/tutorials\/#\/schema\/person\/c88b513657ea9e9a6cd8a9b3a3bff6f3"},"headline":"CSS tutorial part-3","datePublished":"2021-07-22T12:15:23+00:00","dateModified":"2021-07-22T12:15:24+00:00","mainEntityOfPage":{"@id":"https:\/\/www.scmgalaxy.com\/tutorials\/css-tutorial-part-3\/"},"wordCount":213,"commentCount":0,"keywords":["css"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.scmgalaxy.com\/tutorials\/css-tutorial-part-3\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.scmgalaxy.com\/tutorials\/css-tutorial-part-3\/","url":"https:\/\/www.scmgalaxy.com\/tutorials\/css-tutorial-part-3\/","name":"CSS tutorial part-3 - scmGalaxy","isPartOf":{"@id":"https:\/\/www.scmgalaxy.com\/tutorials\/#website"},"datePublished":"2021-07-22T12:15:23+00:00","dateModified":"2021-07-22T12:15:24+00:00","author":{"@id":"https:\/\/www.scmgalaxy.com\/tutorials\/#\/schema\/person\/c88b513657ea9e9a6cd8a9b3a3bff6f3"},"breadcrumb":{"@id":"https:\/\/www.scmgalaxy.com\/tutorials\/css-tutorial-part-3\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.scmgalaxy.com\/tutorials\/css-tutorial-part-3\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.scmgalaxy.com\/tutorials\/css-tutorial-part-3\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.scmgalaxy.com\/tutorials\/"},{"@type":"ListItem","position":2,"name":"CSS tutorial part-3"}]},{"@type":"WebSite","@id":"https:\/\/www.scmgalaxy.com\/tutorials\/#website","url":"https:\/\/www.scmgalaxy.com\/tutorials\/","name":"scmGalaxy","description":"A Platform for Software Engineers","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.scmgalaxy.com\/tutorials\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/www.scmgalaxy.com\/tutorials\/#\/schema\/person\/c88b513657ea9e9a6cd8a9b3a3bff6f3","name":"shashank K","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/a1d7da7c43d650339f6ab219ed52f462ee8ce994ce0d45b50c0700eead0676a4?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/a1d7da7c43d650339f6ab219ed52f462ee8ce994ce0d45b50c0700eead0676a4?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/a1d7da7c43d650339f6ab219ed52f462ee8ce994ce0d45b50c0700eead0676a4?s=96&d=mm&r=g","caption":"shashank K"},"url":"https:\/\/www.scmgalaxy.com\/tutorials\/author\/shashank\/"}]}},"_links":{"self":[{"href":"https:\/\/www.scmgalaxy.com\/tutorials\/wp-json\/wp\/v2\/posts\/6934","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.scmgalaxy.com\/tutorials\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.scmgalaxy.com\/tutorials\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.scmgalaxy.com\/tutorials\/wp-json\/wp\/v2\/users\/19"}],"replies":[{"embeddable":true,"href":"https:\/\/www.scmgalaxy.com\/tutorials\/wp-json\/wp\/v2\/comments?post=6934"}],"version-history":[{"count":2,"href":"https:\/\/www.scmgalaxy.com\/tutorials\/wp-json\/wp\/v2\/posts\/6934\/revisions"}],"predecessor-version":[{"id":6945,"href":"https:\/\/www.scmgalaxy.com\/tutorials\/wp-json\/wp\/v2\/posts\/6934\/revisions\/6945"}],"wp:attachment":[{"href":"https:\/\/www.scmgalaxy.com\/tutorials\/wp-json\/wp\/v2\/media?parent=6934"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.scmgalaxy.com\/tutorials\/wp-json\/wp\/v2\/categories?post=6934"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.scmgalaxy.com\/tutorials\/wp-json\/wp\/v2\/tags?post=6934"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}