{"id":1628,"date":"2023-07-07T14:17:26","date_gmt":"2023-07-07T11:17:26","guid":{"rendered":"https:\/\/notes.profidev.online\/?p=1628"},"modified":"2023-07-07T14:17:28","modified_gmt":"2023-07-07T11:17:28","slug":"social-media-icon","status":"publish","type":"post","link":"https:\/\/notes.profidev.online\/ru\/elements\/1628\/","title":{"rendered":"Social media icon"},"content":{"rendered":"<div class=\"wp-block-media-text alignwide is-stacked-on-mobile\"><figure class=\"wp-block-media-text__media\"><img fetchpriority=\"high\" decoding=\"async\" width=\"808\" height=\"355\" src=\"https:\/\/notes.profidev.online\/wp-content\/uploads\/2023\/07\/peek-2023-07-07-13-15.gif\" alt=\"Social media icon\" class=\"wp-image-1629 size-full\"\/><\/figure><div class=\"wp-block-media-text__content\">\n<p class=\"wp-block-paragraph\"><\/p>\n<\/div><\/div>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n\n\n\n<div class=\"wp-block-codemirror-blocks-code-block code-block\"><pre class=\"CodeMirror\" data-setting=\"{&quot;showPanel&quot;:true,&quot;languageLabel&quot;:&quot;language&quot;,&quot;fullScreenButton&quot;:true,&quot;copyButton&quot;:true,&quot;mode&quot;:&quot;htmlmixed&quot;,&quot;mime&quot;:&quot;text\/html&quot;,&quot;theme&quot;:&quot;cobalt&quot;,&quot;lineNumbers&quot;:true,&quot;styleActiveLine&quot;:true,&quot;lineWrapping&quot;:true,&quot;readOnly&quot;:false,&quot;fileName&quot;:&quot;&quot;,&quot;TrpContentRestriction&quot;:{&quot;restriction_type&quot;:&quot;exclude&quot;,&quot;selected_languages&quot;:[],&quot;panel_open&quot;:true},&quot;language&quot;:&quot;HTML&quot;,&quot;maxHeight&quot;:&quot;400px&quot;,&quot;modeName&quot;:&quot;html&quot;}\">&lt;link href=&quot;https:\/\/cdnjs.cloudflare.com\/ajax\/libs\/font-awesome\/6.1.1\/css\/all.min.css&quot; rel=&quot;stylesheet&quot;&gt;\n \n  &lt;ul&gt;\n    &lt;li&gt;&lt;a href=&quot;#&quot;&gt;&lt;i class=&quot;fa-brands fa-instagram instagram&quot;&gt;&lt;\/i&gt;&lt;\/a&gt;&lt;\/li&gt;\n    &lt;li&gt;&lt;a href=&quot;#&quot;&gt;&lt;i class=&quot;fa-brands fa-whatsapp whatsapp&quot;&gt;&lt;\/i&gt;&lt;\/a&gt;&lt;\/li&gt;\n    &lt;li&gt;&lt;a href=&quot;#&quot;&gt;&lt;i class=&quot;fa-brands fa-twitter twitter&quot;&gt;&lt;\/i&gt;&lt;\/a&gt;&lt;\/li&gt;\n&lt;\/ul&gt;<\/pre><\/div>\n\n\n\n<div class=\"wp-block-codemirror-blocks-code-block code-block\"><pre class=\"CodeMirror\" data-setting=\"{&quot;showPanel&quot;:true,&quot;languageLabel&quot;:&quot;language&quot;,&quot;fullScreenButton&quot;:true,&quot;copyButton&quot;:true,&quot;mode&quot;:&quot;css&quot;,&quot;mime&quot;:&quot;text\/css&quot;,&quot;theme&quot;:&quot;cobalt&quot;,&quot;lineNumbers&quot;:true,&quot;styleActiveLine&quot;:true,&quot;lineWrapping&quot;:true,&quot;readOnly&quot;:false,&quot;fileName&quot;:&quot;&quot;,&quot;TrpContentRestriction&quot;:{&quot;restriction_type&quot;:&quot;exclude&quot;,&quot;selected_languages&quot;:[],&quot;panel_open&quot;:true},&quot;language&quot;:&quot;CSS&quot;,&quot;maxHeight&quot;:&quot;400px&quot;,&quot;modeName&quot;:&quot;css&quot;}\">*{\n  margin: 0;\n  padding: 0;\n  box-sizing: border-box;\n}\nbody {\n  display: flex;\n  justify-content: center;\n  align-items: center;\n  height: 100vh;\n  background: #000;\n}\n\nul {\n  position: relative;\n  display: flex;\n}\nul li {\n  position: relative;\n  list-style: none;\n  margin: 0 20px;\n  cursor: pointer;\n}\nul li a {\n  text-decoration: none;\n}\nul li a .fa-brands {\n  font-size: 6em;\n  color: #222;\n}\nul li a::before {\n  font-family: &quot;FontAwesome&quot;;\n  position: absolute;\n  top: 0;\n  left: 0;\n  font-size: 6em;\n  height: 0;\n  overflow: hidden;\n  transition: 0.5s ease-in-out;\n}\n\nul li:nth-child(1) a::before {\n  content: &quot;\\f16d&quot;;\n  background-image: linear-gradient(45deg, \n    #f09433 0%,#e6683c 25%,#dc2743 50%,#cc2366 75%,\n    #bc1888 100%);\n  -webkit-background-clip: text;\n   -webkit-text-fill-color: transparent;\n  border-bottom: 4px solid #dc2743;\n}\nul li:nth-child(2) a::before {\n  content: &quot;\\f232&quot;;\n  color: #25D366;\n  border-bottom: 4px solid #25D366;\n}\nul li:nth-child(3) a::before {\n  content: &quot;\\f099&quot;;\n  color: #1DA1F2;\n  border-bottom: 4px solid #1DA1F2;\n}\nul li:hover a::before {\n  height: 100%;\n}<\/pre><\/div>","protected":false},"excerpt":{"rendered":"","protected":false},"author":1,"featured_media":1629,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[19],"tags":[16,33],"class_list":["post-1628","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-elements","tag-htmlcss","tag-icons"],"_links":{"self":[{"href":"https:\/\/notes.profidev.online\/ru\/wp-json\/wp\/v2\/posts\/1628","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/notes.profidev.online\/ru\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/notes.profidev.online\/ru\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/notes.profidev.online\/ru\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/notes.profidev.online\/ru\/wp-json\/wp\/v2\/comments?post=1628"}],"version-history":[{"count":1,"href":"https:\/\/notes.profidev.online\/ru\/wp-json\/wp\/v2\/posts\/1628\/revisions"}],"predecessor-version":[{"id":1630,"href":"https:\/\/notes.profidev.online\/ru\/wp-json\/wp\/v2\/posts\/1628\/revisions\/1630"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/notes.profidev.online\/ru\/wp-json\/wp\/v2\/media\/1629"}],"wp:attachment":[{"href":"https:\/\/notes.profidev.online\/ru\/wp-json\/wp\/v2\/media?parent=1628"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/notes.profidev.online\/ru\/wp-json\/wp\/v2\/categories?post=1628"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/notes.profidev.online\/ru\/wp-json\/wp\/v2\/tags?post=1628"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}