{"id":1348,"date":"2023-05-01T11:36:34","date_gmt":"2023-05-01T08:36:34","guid":{"rendered":"https:\/\/notes.profidev.online\/?p=1348"},"modified":"2023-05-01T11:36:37","modified_gmt":"2023-05-01T08:36:37","slug":"player-user-cards","status":"publish","type":"post","link":"https:\/\/notes.profidev.online\/ru\/cards\/1348\/","title":{"rendered":"Player\/User Cards"},"content":{"rendered":"<figure class=\"wp-block-embed is-type-video is-provider-youtube wp-block-embed-youtube wp-embed-aspect-4-3 wp-has-aspect-ratio\"><div class=\"wp-block-embed__wrapper\">\n<iframe title=\"Player\/User Cards\" width=\"640\" height=\"480\" src=\"https:\/\/www.youtube.com\/embed\/W8OiflHrRFU?feature=oembed\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share\" referrerpolicy=\"strict-origin-when-cross-origin\" allowfullscreen><\/iframe>\n<\/div><\/figure>\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;div class=&quot;center&quot;&gt;\n\n    &lt;div class=&quot;card&quot;&gt;\n      &lt;div class=&quot;additional&quot;&gt;\n        &lt;div class=&quot;user-card&quot;&gt;\n          &lt;div class=&quot;level center&quot;&gt;\n            Level 13\n          &lt;\/div&gt;\n          &lt;div class=&quot;points center&quot;&gt;\n            5,312 Points\n          &lt;\/div&gt;\n          &lt;svg width=&quot;110&quot; height=&quot;110&quot; viewbox=&quot;0 0 250 250&quot; xmlns=&quot;http:\/\/www.w3.org\/2000\/svg&quot; role=&quot;img&quot; aria-labelledby=&quot;title desc&quot; class=&quot;center&quot;&gt;\n            &lt;title id=&quot;title&quot;&gt;Teacher&lt;\/title&gt;\n            &lt;desc id=&quot;desc&quot;&gt;Cartoon of a Caucasian woman smiling, and wearing black glasses and a purple shirt with white collar drawn by Alvaro Montoro.&lt;\/desc&gt;\n            &lt;style&gt;\n              .skin { fill: #eab38f; }\n              .eyes { fill: #1f1f1f; }\n              .hair { fill: #2f1b0d; }\n              .line { fill: none; stroke: #2f1b0d; stroke-width:2px; }\n            &lt;\/style&gt;\n            &lt;defs&gt;\n              &lt;clippath id=&quot;scene&quot;&gt;\n                &lt;circle cx=&quot;125&quot; cy=&quot;125&quot; r=&quot;115&quot;\/&gt;\n              &lt;\/clippath&gt;\n              &lt;clippath id=&quot;lips&quot;&gt;\n                &lt;path d=&quot;M 106,132 C 113,127 125,128 125,132 125,128 137,127 144,132 141,142  134,146  125,146  116,146 109,142 106,132 Z&quot; \/&gt;\n              &lt;\/clippath&gt;\n            &lt;\/defs&gt;\n            &lt;circle cx=&quot;125&quot; cy=&quot;125&quot; r=&quot;120&quot; fill=&quot;rgba(0,0,0,0.15)&quot; \/&gt;\n            &lt;g stroke=&quot;none&quot; stroke-width=&quot;0&quot; clip-path=&quot;url(#scene)&quot;&gt;\n              &lt;rect x=&quot;0&quot; y=&quot;0&quot; width=&quot;250&quot; height=&quot;250&quot; fill=&quot;#b0d2e5&quot; \/&gt;\n              &lt;g id=&quot;head&quot;&gt;\n                &lt;path fill=&quot;none&quot; stroke=&quot;#111111&quot; stroke-width=&quot;2&quot; d=&quot;M 68,103 83,103.5&quot; \/&gt;\n                &lt;path class=&quot;hair&quot; d=&quot;M 67,90 67,169 78,164 89,169 100,164 112,169 125,164 138,169 150,164 161,169 172,164 183,169 183,90 Z&quot; \/&gt;\n                &lt;circle cx=&quot;125&quot; cy=&quot;100&quot; r=&quot;55&quot; class=&quot;skin&quot; \/&gt;\n                &lt;ellipse cx=&quot;102&quot; cy=&quot;107&quot; rx=&quot;5&quot; ry=&quot;5&quot; class=&quot;eyes&quot; id=&quot;eye-left&quot; \/&gt;\n                &lt;ellipse cx=&quot;148&quot; cy=&quot;107&quot; rx=&quot;5&quot; ry=&quot;5&quot; class=&quot;eyes&quot; id=&quot;eye-right&quot; \/&gt;\n                &lt;rect x=&quot;119&quot; y=&quot;140&quot; width=&quot;12&quot; height=&quot;40&quot; class=&quot;skin&quot; \/&gt;\n                &lt;path class=&quot;line eyebrow&quot; d=&quot;M 90,98 C 93,90 103,89 110,94&quot; id=&quot;eyebrow-left&quot; \/&gt;\n                &lt;path class=&quot;line eyebrow&quot; d=&quot;M 160,98 C 157,90 147,89 140,94&quot; id=&quot;eyebrow-right&quot;\/&gt;\n                &lt;path stroke=&quot;#111111&quot; stroke-width=&quot;4&quot; d=&quot;M 68,103 83,102.5&quot; \/&gt;\n                &lt;path stroke=&quot;#111111&quot; stroke-width=&quot;4&quot; d=&quot;M 182,103 167,102.5&quot; \/&gt;\n                &lt;path stroke=&quot;#050505&quot; stroke-width=&quot;3&quot; fill=&quot;none&quot; d=&quot;M 119,102 C 123,99 127,99 131,102&quot; \/&gt;\n                &lt;path fill=&quot;#050505&quot; d=&quot;M 92,97 C 85,97 79,98 80,101 81,104 84,104 85,102&quot; \/&gt;\n                &lt;path fill=&quot;#050505&quot; d=&quot;M 158,97 C 165,97 171,98 170,101 169,104 166,104 165,102&quot; \/&gt;\n                &lt;path stroke=&quot;#050505&quot; stroke-width=&quot;3&quot; fill=&quot;rgba(240,240,255,0.4)&quot; d=&quot;M 119,102 C 118,111 115,119 98,117 85,115 84,108 84,104 84,97 94,96 105,97 112,98 117,98 119,102 Z&quot; \/&gt;\n                &lt;path stroke=&quot;#050505&quot; stroke-width=&quot;3&quot; fill=&quot;rgba(240,240,255,0.4)&quot; d=&quot;M 131,102 C 132,111 135,119 152,117 165,115 166,108 166,104 166,97 156,96 145,97 138,98 133,98 131,102 Z&quot; \/&gt;\n                &lt;path class=&quot;hair&quot; d=&quot;M 60,109 C 59,39 118,40 129,40 139,40 187,43 189,99 135,98 115,67 115,67 115,67 108,90 80,109 86,101 91,92 92,87 85,99 65,108 60,109&quot; \/&gt;\n                &lt;path id=&quot;mouth&quot; fill=&quot;#d73e3e&quot; d=&quot;M 106,132 C 113,127 125,128 125,132 125,128 137,127 144,132 141,142  134,146  125,146  116,146 109,142 106,132 Z&quot; \/&gt; \n                &lt;path id=&quot;smile&quot; fill=&quot;white&quot; d=&quot;M125,141 C 140,141 143,132 143,132 143,132 125,133 125,133 125,133 106.5,132 106.5,132 106.5,132 110,141 125,141 Z&quot; clip-path=&quot;url(#lips)&quot; \/&gt;\n              &lt;\/g&gt;\n              &lt;g id=&quot;shirt&quot;&gt;\n                &lt;path fill=&quot;#8665c2&quot; d=&quot;M 132,170 C 146,170 154,200 154,200 154,200 158,250 158,250 158,250 92,250 92,250 92,250 96,200 96,200 96,200 104,170 118,170 118,170 125,172 125,172 125,172 132,170 132,170 Z&quot;\/&gt;\n                &lt;path id=&quot;arm-left&quot; class=&quot;arm&quot; stroke=&quot;#8665c2&quot; fill=&quot;none&quot; stroke-width=&quot;14&quot; d=&quot;M 118,178 C 94,179 66,220 65,254&quot; \/&gt;\n                &lt;path id=&quot;arm-right&quot; class=&quot;arm&quot; stroke=&quot;#8665c2&quot; fill=&quot;none&quot; stroke-width=&quot;14&quot; d=&quot;M 132,178 C 156,179 184,220 185,254&quot; \/&gt;\n                &lt;path fill=&quot;white&quot; d=&quot;M 117,166 C 117,166 125,172 125,172 125,182 115,182 109,170 Z&quot; \/&gt;\n                &lt;path fill=&quot;white&quot; d=&quot;M 133,166 C 133,166 125,172 125,172 125,182 135,182 141,170 Z&quot; \/&gt;\n                &lt;circle cx=&quot;125&quot; cy=&quot;188&quot; r=&quot;4&quot; fill=&quot;#5a487b&quot; \/&gt;\n                &lt;circle cx=&quot;125&quot; cy=&quot;202&quot; r=&quot;4&quot; fill=&quot;#5a487b&quot; \/&gt;\n                &lt;circle cx=&quot;125&quot; cy=&quot;216&quot; r=&quot;4&quot; fill=&quot;#5a487b&quot; \/&gt;\n                &lt;circle cx=&quot;125&quot; cy=&quot;230&quot; r=&quot;4&quot; fill=&quot;#5a487b&quot; \/&gt;\n                &lt;circle cx=&quot;125&quot; cy=&quot;244&quot; r=&quot;4&quot; fill=&quot;#5a487b&quot; \/&gt;\n                &lt;path stroke=&quot;#daa37f&quot; stroke-width=&quot;1&quot; class=&quot;skin hand&quot; id=&quot;hand-left&quot; d=&quot;M 51,270 C 46,263 60,243 63,246 65,247 66,248 61,255 72,243 76,238 79,240 82,243 72,254 69,257 72,254 82,241 86,244 89,247 75,261 73,263 77,258 84,251 86,253 89,256 70,287 59,278&quot; \/&gt; \n                &lt;path stroke=&quot;#daa37f&quot; stroke-width=&quot;1&quot; class=&quot;skin hand&quot; id=&quot;hand-right&quot; d=&quot;M 199,270 C 204,263 190,243 187,246 185,247 184,248 189,255 178,243 174,238 171,240 168,243 178,254 181,257 178,254 168,241 164,244 161,247 175,261 177,263 173,258 166,251 164,253 161,256 180,287 191,278&quot;\/&gt; \n              &lt;\/g&gt;\n            &lt;\/g&gt;\n          &lt;\/svg&gt;\n        &lt;\/div&gt;\n        &lt;div class=&quot;more-info&quot;&gt;\n          &lt;h1&gt;Jane Doe&lt;\/h1&gt;\n          &lt;div class=&quot;coords&quot;&gt;\n            &lt;span&gt;Group Name&lt;\/span&gt;\n            &lt;span&gt;Joined January 2019&lt;\/span&gt;\n          &lt;\/div&gt;\n          &lt;div class=&quot;coords&quot;&gt;\n            &lt;span&gt;Position\/Role&lt;\/span&gt;\n            &lt;span&gt;City, Country&lt;\/span&gt;\n          &lt;\/div&gt;\n          &lt;div class=&quot;stats&quot;&gt;\n            &lt;div&gt;\n              &lt;div class=&quot;title&quot;&gt;Awards&lt;\/div&gt;\n              &lt;i class=&quot;fa fa-trophy&quot;&gt;&lt;\/i&gt;\n              &lt;div class=&quot;value&quot;&gt;2&lt;\/div&gt;\n            &lt;\/div&gt;\n            &lt;div&gt;\n              &lt;div class=&quot;title&quot;&gt;Matches&lt;\/div&gt;\n              &lt;i class=&quot;fa fa-gamepad&quot;&gt;&lt;\/i&gt;\n              &lt;div class=&quot;value&quot;&gt;27&lt;\/div&gt;\n            &lt;\/div&gt;\n            &lt;div&gt;\n              &lt;div class=&quot;title&quot;&gt;Pals&lt;\/div&gt;\n              &lt;i class=&quot;fa fa-group&quot;&gt;&lt;\/i&gt;\n              &lt;div class=&quot;value&quot;&gt;123&lt;\/div&gt;\n            &lt;\/div&gt;\n            &lt;div&gt;\n              &lt;div class=&quot;title&quot;&gt;Coffee&lt;\/div&gt;\n              &lt;i class=&quot;fa fa-coffee&quot;&gt;&lt;\/i&gt;\n              &lt;div class=&quot;value infinity&quot;&gt;&infin;&lt;\/div&gt;\n            &lt;\/div&gt;\n          &lt;\/div&gt;\n        &lt;\/div&gt;\n      &lt;\/div&gt;\n      &lt;div class=&quot;general&quot;&gt;\n        &lt;h1&gt;Jane Doe&lt;\/h1&gt;\n        &lt;p&gt;Lorem ipsum dolor sit amet, consectetur adipiscing elit. Fusce a volutpat mauris, at molestie lacus. Nam vestibulum sodales odio ut pulvinar.&lt;\/p&gt;\n        &lt;span class=&quot;more&quot;&gt;Mouse over the card for more info&lt;\/span&gt;\n      &lt;\/div&gt;\n    &lt;\/div&gt;\n  \n    &lt;div class=&quot;card green&quot;&gt;\n      &lt;div class=&quot;additional&quot;&gt;\n        &lt;div class=&quot;user-card&quot;&gt;\n          &lt;div class=&quot;level center&quot;&gt;\n            Level 13\n          &lt;\/div&gt;\n          &lt;div class=&quot;points center&quot;&gt;\n            5,312 Points\n          &lt;\/div&gt;\n          &lt;svg width=&quot;110&quot; height=&quot;110&quot; viewbox=&quot;0 0 250 250&quot; xmlns=&quot;http:\/\/www.w3.org\/2000\/svg&quot; role=&quot;img&quot; aria-labelledby=&quot;title desc&quot; class=&quot;center&quot;&gt;\n            &lt;title id=&quot;title&quot;&gt;Teacher&lt;\/title&gt;\n            &lt;desc id=&quot;desc&quot;&gt;Cartoon of a Caucasian woman smiling, and wearing black glasses and a purple shirt with white collar drawn by Alvaro Montoro.&lt;\/desc&gt;\n            &lt;style&gt;\n              .skin { fill: #eab38f; }\n              .eyes { fill: #1f1f1f; }\n              .hair { fill: #2f1b0d; }\n              .line { fill: none; stroke: #2f1b0d; stroke-width:2px; }\n            &lt;\/style&gt;\n            &lt;defs&gt;\n              &lt;clippath id=&quot;scene&quot;&gt;\n                &lt;circle cx=&quot;125&quot; cy=&quot;125&quot; r=&quot;115&quot;\/&gt;\n              &lt;\/clippath&gt;\n              &lt;clippath id=&quot;lips&quot;&gt;\n                &lt;path d=&quot;M 106,132 C 113,127 125,128 125,132 125,128 137,127 144,132 141,142  134,146  125,146  116,146 109,142 106,132 Z&quot; \/&gt;\n              &lt;\/clippath&gt;\n            &lt;\/defs&gt;\n            &lt;circle cx=&quot;125&quot; cy=&quot;125&quot; r=&quot;120&quot; fill=&quot;rgba(0,0,0,0.15)&quot; \/&gt;\n            &lt;g stroke=&quot;none&quot; stroke-width=&quot;0&quot; clip-path=&quot;url(#scene)&quot;&gt;\n              &lt;rect x=&quot;0&quot; y=&quot;0&quot; width=&quot;250&quot; height=&quot;250&quot; fill=&quot;#b0d2e5&quot; \/&gt;\n              &lt;g id=&quot;head&quot;&gt;\n                &lt;path fill=&quot;none&quot; stroke=&quot;#111111&quot; stroke-width=&quot;2&quot; d=&quot;M 68,103 83,103.5&quot; \/&gt;\n                &lt;path class=&quot;hair&quot; d=&quot;M 67,90 67,169 78,164 89,169 100,164 112,169 125,164 138,169 150,164 161,169 172,164 183,169 183,90 Z&quot; \/&gt;\n                &lt;circle cx=&quot;125&quot; cy=&quot;100&quot; r=&quot;55&quot; class=&quot;skin&quot; \/&gt;\n                &lt;ellipse cx=&quot;102&quot; cy=&quot;107&quot; rx=&quot;5&quot; ry=&quot;5&quot; class=&quot;eyes&quot; id=&quot;eye-left&quot; \/&gt;\n                &lt;ellipse cx=&quot;148&quot; cy=&quot;107&quot; rx=&quot;5&quot; ry=&quot;5&quot; class=&quot;eyes&quot; id=&quot;eye-right&quot; \/&gt;\n                &lt;rect x=&quot;119&quot; y=&quot;140&quot; width=&quot;12&quot; height=&quot;40&quot; class=&quot;skin&quot; \/&gt;\n                &lt;path class=&quot;line eyebrow&quot; d=&quot;M 90,98 C 93,90 103,89 110,94&quot; id=&quot;eyebrow-left&quot; \/&gt;\n                &lt;path class=&quot;line eyebrow&quot; d=&quot;M 160,98 C 157,90 147,89 140,94&quot; id=&quot;eyebrow-right&quot;\/&gt;\n                &lt;path stroke=&quot;#111111&quot; stroke-width=&quot;4&quot; d=&quot;M 68,103 83,102.5&quot; \/&gt;\n                &lt;path stroke=&quot;#111111&quot; stroke-width=&quot;4&quot; d=&quot;M 182,103 167,102.5&quot; \/&gt;\n                &lt;path stroke=&quot;#050505&quot; stroke-width=&quot;3&quot; fill=&quot;none&quot; d=&quot;M 119,102 C 123,99 127,99 131,102&quot; \/&gt;\n                &lt;path fill=&quot;#050505&quot; d=&quot;M 92,97 C 85,97 79,98 80,101 81,104 84,104 85,102&quot; \/&gt;\n                &lt;path fill=&quot;#050505&quot; d=&quot;M 158,97 C 165,97 171,98 170,101 169,104 166,104 165,102&quot; \/&gt;\n                &lt;path stroke=&quot;#050505&quot; stroke-width=&quot;3&quot; fill=&quot;rgba(240,240,255,0.4)&quot; d=&quot;M 119,102 C 118,111 115,119 98,117 85,115 84,108 84,104 84,97 94,96 105,97 112,98 117,98 119,102 Z&quot; \/&gt;\n                &lt;path stroke=&quot;#050505&quot; stroke-width=&quot;3&quot; fill=&quot;rgba(240,240,255,0.4)&quot; d=&quot;M 131,102 C 132,111 135,119 152,117 165,115 166,108 166,104 166,97 156,96 145,97 138,98 133,98 131,102 Z&quot; \/&gt;\n                &lt;path class=&quot;hair&quot; d=&quot;M 60,109 C 59,39 118,40 129,40 139,40 187,43 189,99 135,98 115,67 115,67 115,67 108,90 80,109 86,101 91,92 92,87 85,99 65,108 60,109&quot; \/&gt;\n                &lt;path id=&quot;mouth&quot; fill=&quot;#d73e3e&quot; d=&quot;M 106,132 C 113,127 125,128 125,132 125,128 137,127 144,132 141,142  134,146  125,146  116,146 109,142 106,132 Z&quot; \/&gt; \n                &lt;path id=&quot;smile&quot; fill=&quot;white&quot; d=&quot;M125,141 C 140,141 143,132 143,132 143,132 125,133 125,133 125,133 106.5,132 106.5,132 106.5,132 110,141 125,141 Z&quot; clip-path=&quot;url(#lips)&quot; \/&gt;\n              &lt;\/g&gt;\n              &lt;g id=&quot;shirt&quot;&gt;\n                &lt;path fill=&quot;#8665c2&quot; d=&quot;M 132,170 C 146,170 154,200 154,200 154,200 158,250 158,250 158,250 92,250 92,250 92,250 96,200 96,200 96,200 104,170 118,170 118,170 125,172 125,172 125,172 132,170 132,170 Z&quot;\/&gt;\n                &lt;path id=&quot;arm-left&quot; class=&quot;arm&quot; stroke=&quot;#8665c2&quot; fill=&quot;none&quot; stroke-width=&quot;14&quot; d=&quot;M 118,178 C 94,179 66,220 65,254&quot; \/&gt;\n                &lt;path id=&quot;arm-right&quot; class=&quot;arm&quot; stroke=&quot;#8665c2&quot; fill=&quot;none&quot; stroke-width=&quot;14&quot; d=&quot;M 132,178 C 156,179 184,220 185,254&quot; \/&gt;\n                &lt;path fill=&quot;white&quot; d=&quot;M 117,166 C 117,166 125,172 125,172 125,182 115,182 109,170 Z&quot; \/&gt;\n                &lt;path fill=&quot;white&quot; d=&quot;M 133,166 C 133,166 125,172 125,172 125,182 135,182 141,170 Z&quot; \/&gt;\n                &lt;circle cx=&quot;125&quot; cy=&quot;188&quot; r=&quot;4&quot; fill=&quot;#5a487b&quot; \/&gt;\n                &lt;circle cx=&quot;125&quot; cy=&quot;202&quot; r=&quot;4&quot; fill=&quot;#5a487b&quot; \/&gt;\n                &lt;circle cx=&quot;125&quot; cy=&quot;216&quot; r=&quot;4&quot; fill=&quot;#5a487b&quot; \/&gt;\n                &lt;circle cx=&quot;125&quot; cy=&quot;230&quot; r=&quot;4&quot; fill=&quot;#5a487b&quot; \/&gt;\n                &lt;circle cx=&quot;125&quot; cy=&quot;244&quot; r=&quot;4&quot; fill=&quot;#5a487b&quot; \/&gt;\n                &lt;path stroke=&quot;#daa37f&quot; stroke-width=&quot;1&quot; class=&quot;skin hand&quot; id=&quot;hand-left&quot; d=&quot;M 51,270 C 46,263 60,243 63,246 65,247 66,248 61,255 72,243 76,238 79,240 82,243 72,254 69,257 72,254 82,241 86,244 89,247 75,261 73,263 77,258 84,251 86,253 89,256 70,287 59,278&quot; \/&gt; \n                &lt;path stroke=&quot;#daa37f&quot; stroke-width=&quot;1&quot; class=&quot;skin hand&quot; id=&quot;hand-right&quot; d=&quot;M 199,270 C 204,263 190,243 187,246 185,247 184,248 189,255 178,243 174,238 171,240 168,243 178,254 181,257 178,254 168,241 164,244 161,247 175,261 177,263 173,258 166,251 164,253 161,256 180,287 191,278&quot;\/&gt; \n              &lt;\/g&gt;\n            &lt;\/g&gt;\n          &lt;\/svg&gt;\n        &lt;\/div&gt;\n        &lt;div class=&quot;more-info&quot;&gt;\n          &lt;h1&gt;Jane Doe&lt;\/h1&gt;\n          &lt;div class=&quot;coords&quot;&gt;\n            &lt;span&gt;Group Name&lt;\/span&gt;\n            &lt;span&gt;Joined January 2019&lt;\/span&gt;\n          &lt;\/div&gt;\n          &lt;div class=&quot;coords&quot;&gt;\n            &lt;span&gt;Position\/Role&lt;\/span&gt;\n            &lt;span&gt;City, Country&lt;\/span&gt;\n          &lt;\/div&gt;\n          &lt;div class=&quot;stats&quot;&gt;\n            &lt;div&gt;\n              &lt;div class=&quot;title&quot;&gt;Awards&lt;\/div&gt;\n              &lt;i class=&quot;fa fa-trophy&quot;&gt;&lt;\/i&gt;\n              &lt;div class=&quot;value&quot;&gt;2&lt;\/div&gt;\n            &lt;\/div&gt;\n            &lt;div&gt;\n              &lt;div class=&quot;title&quot;&gt;Matches&lt;\/div&gt;\n              &lt;i class=&quot;fa fa-gamepad&quot;&gt;&lt;\/i&gt;\n              &lt;div class=&quot;value&quot;&gt;27&lt;\/div&gt;\n            &lt;\/div&gt;\n            &lt;div&gt;\n              &lt;div class=&quot;title&quot;&gt;Pals&lt;\/div&gt;\n              &lt;i class=&quot;fa fa-group&quot;&gt;&lt;\/i&gt;\n              &lt;div class=&quot;value&quot;&gt;123&lt;\/div&gt;\n            &lt;\/div&gt;\n            &lt;div&gt;\n              &lt;div class=&quot;title&quot;&gt;Coffee&lt;\/div&gt;\n              &lt;i class=&quot;fa fa-coffee&quot;&gt;&lt;\/i&gt;\n              &lt;div class=&quot;value infinity&quot;&gt;&infin;&lt;\/div&gt;\n            &lt;\/div&gt;\n          &lt;\/div&gt;\n        &lt;\/div&gt;\n      &lt;\/div&gt;\n      &lt;div class=&quot;general&quot;&gt;\n        &lt;h1&gt;Jane Doe&lt;\/h1&gt;\n        &lt;p&gt;Lorem ipsum dolor sit amet, consectetur adipiscing elit. Fusce a volutpat mauris, at molestie lacus. Nam vestibulum sodales odio ut pulvinar.&lt;\/p&gt;\n        &lt;span class=&quot;more&quot;&gt;Mouse over the card for more info&lt;\/span&gt;\n      &lt;\/div&gt;\n    &lt;\/div&gt;\n  &lt;\/div&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;}\">@import url('https:\/\/fonts.googleapis.com\/css?family=Abel');\n\nhtml, body {\n  background: #FCEEB5;\n  font-family: Abel, Arial, Verdana, sans-serif;\n}\n\n.center {\n  position: absolute;\n  top: 50%;\n  left: 50%;\n  -webkit-transform: translate(-50%, -50%);\n}\n\n.card {\n  width: 450px;\n  height: 250px;\n  background-color: #fff;\n  background: linear-gradient(#f8f8f8, #fff);\n  box-shadow: 0 8px 16px -8px rgba(0,0,0,0.4);\n  border-radius: 6px;\n  overflow: hidden;\n  position: relative;\n  margin: 1.5rem;\n}\n\n.card h1 {\n  text-align: center;\n}\n\n.card .additional {\n  position: absolute;\n  width: 150px;\n  height: 100%;\n  background: linear-gradient(#dE685E, #EE786E);\n  transition: width 0.4s;\n  overflow: hidden;\n  z-index: 2;\n}\n\n.card.green .additional {\n  background: linear-gradient(#92bCa6, #A2CCB6);\n}\n\n\n.card:hover .additional {\n  width: 100%;\n  border-radius: 0 5px 5px 0;\n}\n\n.card .additional .user-card {\n  width: 150px;\n  height: 100%;\n  position: relative;\n  float: left;\n}\n\n.card .additional .user-card::after {\n  content: &quot;&quot;;\n  display: block;\n  position: absolute;\n  top: 10%;\n  right: -2px;\n  height: 80%;\n  border-left: 2px solid rgba(0,0,0,0.025);\n}\n\n.card .additional .user-card .level,\n.card .additional .user-card .points {\n  top: 15%;\n  color: #fff;\n  text-transform: uppercase;\n  font-size: 0.75em;\n  font-weight: bold;\n  background: rgba(0,0,0,0.15);\n  padding: 0.125rem 0.75rem;\n  border-radius: 100px;\n  white-space: nowrap;\n}\n\n.card .additional .user-card .points {\n  top: 85%;\n}\n\n.card .additional .user-card svg {\n  top: 50%;\n}\n\n.card .additional .more-info {\n  width: 300px;\n  float: left;\n  position: absolute;\n  left: 150px;\n  height: 100%;\n}\n\n.card .additional .more-info h1 {\n  color: #fff;\n  margin-bottom: 0;\n}\n\n.card.green .additional .more-info h1 {\n  color: #224C36;\n}\n\n.card .additional .coords {\n  margin: 0 1rem;\n  color: #fff;\n  font-size: 1rem;\n}\n\n.card.green .additional .coords {\n  color: #325C46;\n}\n\n.card .additional .coords span + span {\n  float: right;\n}\n\n.card .additional .stats {\n  font-size: 2rem;\n  display: flex;\n  position: absolute;\n  bottom: 1rem;\n  left: 1rem;\n  right: 1rem;\n  top: auto;\n  color: #fff;\n}\n\n.card.green .additional .stats {\n  color: #325C46;\n}\n\n.card .additional .stats &gt; div {\n  flex: 1;\n  text-align: center;\n}\n\n.card .additional .stats i {\n  display: block;\n}\n\n.card .additional .stats div.title {\n  font-size: 0.75rem;\n  font-weight: bold;\n  text-transform: uppercase;\n}\n\n.card .additional .stats div.value {\n  font-size: 1.5rem;\n  font-weight: bold;\n  line-height: 1.5rem;\n}\n\n.card .additional .stats div.value.infinity {\n  font-size: 2.5rem;\n}\n\n.card .general {\n  width: 300px;\n  height: 100%;\n  position: absolute;\n  top: 0;\n  right: 0;\n  z-index: 1;\n  box-sizing: border-box;\n  padding: 1rem;\n  padding-top: 0;\n}\n\n.card .general .more {\n  position: absolute;\n  bottom: 1rem;\n  right: 1rem;\n  font-size: 0.9em;\n}<\/pre><\/div>","protected":false},"excerpt":{"rendered":"","protected":false},"author":1,"featured_media":1349,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[42],"tags":[16],"class_list":["post-1348","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-cards","tag-htmlcss"],"_links":{"self":[{"href":"https:\/\/notes.profidev.online\/ru\/wp-json\/wp\/v2\/posts\/1348","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=1348"}],"version-history":[{"count":1,"href":"https:\/\/notes.profidev.online\/ru\/wp-json\/wp\/v2\/posts\/1348\/revisions"}],"predecessor-version":[{"id":1350,"href":"https:\/\/notes.profidev.online\/ru\/wp-json\/wp\/v2\/posts\/1348\/revisions\/1350"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/notes.profidev.online\/ru\/wp-json\/wp\/v2\/media\/1349"}],"wp:attachment":[{"href":"https:\/\/notes.profidev.online\/ru\/wp-json\/wp\/v2\/media?parent=1348"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/notes.profidev.online\/ru\/wp-json\/wp\/v2\/categories?post=1348"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/notes.profidev.online\/ru\/wp-json\/wp\/v2\/tags?post=1348"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}