{"id":15973,"date":"2016-06-11T17:22:27","date_gmt":"2016-06-11T17:22:27","guid":{"rendered":"http:\/\/www.oracletutoring.ca\/blog\/?p=15973"},"modified":"2016-06-11T17:22:27","modified_gmt":"2016-06-11T17:22:27","slug":"web-design-css-circle","status":"publish","type":"post","link":"https:\/\/www.oracletutoring.ca\/blog\/web-design-css-circle\/","title":{"rendered":"Web design:  CSS circle"},"content":{"rendered":"<h1>The tutor shows an easy trick available through CSS.<\/h1>\n<p>CSS is used to style elements of a web page.  It can be used to change a square into a circle, by rounding the corners.<\/p>\n<p>First, a square &lt;div&gt; element, its code below:<\/p>\n<div \nstyle=\"display:block;margin:auto;width:15em;height:15em;background-color:IndianRed\"><\/div>\n<p style=\"font-family:monospace;font-size:125%\">&lt;div style=&#8221;display:block;margin:auto;width:15em;height:15em;background-color:IndianRed&#8221;&gt;&lt;\/div&gt;<\/p>\n<hr style=color:aqua\"\/>\n<p>Next, the &lt;div&gt; element rounded into a circle.  <\/p>\n<div style=\"display:block;margin:auto;width:15em;height:15em;background-color:IndianRed;border-radius:7.5em\"><\/div>\n<p style=\"font-family:monospace;font-size:125%\">&lt;div<br \/>\nstyle=&#8221;display:block;margin:auto;width:15em;height:15em;background-color:IndianRed;<br \/><span style=\"color:MediumSlateBlue\">border-radius:7.5em<\/span>&#8220;&gt;<br \/>&lt;\/div&gt;<\/p>\n<p>The <span style=\"font-family:monospace;font-size:125%;color:MediumSlateBlue\">border-radius:7.5em<\/span> addition is what makes the square into a circle.<\/p>\n<p>I&#8217;ll be talking more about web design and CSS in coming posts:)<\/p>\n<p>Source:<\/p>\n<p><a href=\"http:\/\/www.w3schools.com\/css\/css3_borders.asp\">w3schools<\/a><\/p>\n<p><a href=\"http:\/\/www.w3schools.com\/colors\/colors_names.asp\">w3schools<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>The tutor shows an easy trick available through CSS. CSS is used to style elements of a web page. It can be used to change a square into a circle, by rounding the corners. First, a square &lt;div&gt; element, its &hellip;<\/p>\n<p class=\"read-more\"> <a class=\"more-link\" href=\"https:\/\/www.oracletutoring.ca\/blog\/web-design-css-circle\/\"> <span class=\"screen-reader-text\">Web design:  CSS circle<\/span> Read More &raquo;<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1631,837],"tags":[1650,1649],"class_list":["post-15973","post","type-post","status-publish","format-standard","hentry","category-css","category-web-design","tag-css-circular-div","tag-css-rounded-corners"],"_links":{"self":[{"href":"https:\/\/www.oracletutoring.ca\/blog\/wp-json\/wp\/v2\/posts\/15973","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.oracletutoring.ca\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.oracletutoring.ca\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.oracletutoring.ca\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.oracletutoring.ca\/blog\/wp-json\/wp\/v2\/comments?post=15973"}],"version-history":[{"count":34,"href":"https:\/\/www.oracletutoring.ca\/blog\/wp-json\/wp\/v2\/posts\/15973\/revisions"}],"predecessor-version":[{"id":16007,"href":"https:\/\/www.oracletutoring.ca\/blog\/wp-json\/wp\/v2\/posts\/15973\/revisions\/16007"}],"wp:attachment":[{"href":"https:\/\/www.oracletutoring.ca\/blog\/wp-json\/wp\/v2\/media?parent=15973"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.oracletutoring.ca\/blog\/wp-json\/wp\/v2\/categories?post=15973"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.oracletutoring.ca\/blog\/wp-json\/wp\/v2\/tags?post=15973"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}