{"id":8158,"date":"2015-11-28T07:08:42","date_gmt":"2015-11-28T07:08:42","guid":{"rendered":"https:\/\/unknownerror.org\/index.php\/2015\/11\/28\/semantic-ui-labeled-icon-button-of-type-submit-button-open-source-projects-semantic-org-semantic-ui\/"},"modified":"2022-08-30T15:42:25","modified_gmt":"2022-08-30T15:42:25","slug":"semantic-ui-labeled-icon-button-of-type-submit-button-open-source-projects-semantic-org-semantic-ui","status":"publish","type":"post","link":"https:\/\/unknownerror.org\/index.php\/2015\/11\/28\/semantic-ui-labeled-icon-button-of-type-submit-button-open-source-projects-semantic-org-semantic-ui\/","title":{"rendered":"Semantic UI labeled icon button of type submit button-open source projects Semantic-Org\/Semantic-UI"},"content":{"rendered":"<p>I am using Semantic UI and trying to add an icon to an input button type submit<\/p>\n<p>This is my try:<\/p>\n<pre><code>\n\n<\/code><\/pre>\n<p>The problem is that the icon is displayed in front of the button and not inside the button.<\/p>\n<p>This is how it can be done, with a div:<\/p>\n<pre><code>\n     Login\n\n<\/code><\/pre>\n<p>Do you know any way to add an icon to a button type submit.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I am using Semantic UI and trying to add an icon to an input button type submit This is my try: The problem is that the icon is displayed in front of the button and not inside the button. This is how it can be done, with a div: Login Do you know any way [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4,1],"tags":[],"class_list":["post-8158","post","type-post","status-publish","format-standard","hentry","category-semantic","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/8158","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/comments?post=8158"}],"version-history":[{"count":1,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/8158\/revisions"}],"predecessor-version":[{"id":8572,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/8158\/revisions\/8572"}],"wp:attachment":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/media?parent=8158"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/categories?post=8158"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/tags?post=8158"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}