med-mastodon.com is one of the many independent Mastodon servers you can use to participate in the fediverse.
Medical community on Mastodon

Administered by:

Server stats:

409
active users

#html

33 posts28 participants2 posts today
Terence Eden<p>I've now published my first library on Packagist!</p><p><a href="https://packagist.org/packages/edent/pretty-print-html" rel="nofollow noopener noreferrer" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">packagist.org/packages/edent/p</span><span class="invisible">retty-print-html</span></a></p><p>Feedback, suggestions, corrections, tips, tricks, and praise very much welcome!</p><p><a href="https://mastodon.social/tags/HTML" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>HTML</span></a> <a href="https://mastodon.social/tags/PrettyPrint" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>PrettyPrint</span></a> <a href="https://mastodon.social/tags/PHP" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>PHP</span></a></p>
Rivermonster<p>I've never done anything like this, can anyone smarter than me confirm this will work? <a href="https://stackoverflow.com/a/56315478" rel="nofollow noopener noreferrer" translate="no" target="_blank"><span class="invisible">https://</span><span class="">stackoverflow.com/a/56315478</span><span class="invisible"></span></a> <a href="https://mastodon.social/tags/python" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>python</span></a> <a href="https://mastodon.social/tags/php" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>php</span></a> <a href="https://mastodon.social/tags/html" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>html</span></a> <a href="https://mastodon.social/tags/javascript" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>javascript</span></a></p>
Leanpub<p>Medior PHP <a href="https://leanpub.com/b/mediorphp" rel="nofollow noopener noreferrer" translate="no" target="_blank"><span class="invisible">https://</span><span class="">leanpub.com/b/mediorphp</span><span class="invisible"></span></a> by Joseph Kanyo is the featured bundle of ebooks 📚 on the Leanpub homepage! <a href="https://leanpub.com" rel="nofollow noopener noreferrer" translate="no" target="_blank"><span class="invisible">https://</span><span class="">leanpub.com</span><span class="invisible"></span></a> <a href="https://mastodon.social/tags/Php" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Php</span></a> <a href="https://mastodon.social/tags/Databases" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Databases</span></a> <a href="https://mastodon.social/tags/Mysql" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Mysql</span></a> <a href="https://mastodon.social/tags/ComputerProgramming" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>ComputerProgramming</span></a> <a href="https://mastodon.social/tags/Laravel" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Laravel</span></a> <a href="https://mastodon.social/tags/Symfony" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Symfony</span></a> <a href="https://mastodon.social/tags/Html" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Html</span></a> <a href="https://mastodon.social/tags/Refactoring" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Refactoring</span></a> <a href="https://mastodon.social/tags/Apis" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Apis</span></a> <a href="https://mastodon.social/tags/ApiDesign" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>ApiDesign</span></a> <a href="https://mastodon.social/tags/books" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>books</span></a> <a href="https://mastodon.social/tags/ebooks" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>ebooks</span></a></p>
tschigi<p><span class="h-card" translate="no"><a href="https://social.coop/@cwebber" class="u-url mention" rel="nofollow noopener noreferrer" target="_blank">@<span>cwebber</span></a></span> <span class="h-card" translate="no"><a href="https://pl.fediverse.pl/users/mkljczk" class="u-url mention" rel="nofollow noopener noreferrer" target="_blank">@<span>mkljczk</span></a></span><br>I would call this „old school“ 😍💪 and it's a stamp of quality from the bygone golden days of web design and -publishing. Back then it was simple, noble and classic design and code. After years of Joomla and Wordpress I'm circling back to <a href="https://swiss.social/tags/FlatFileCMS" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>FlatFileCMS</span></a>, <a href="https://swiss.social/tags/RSS" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>RSS</span></a>, <a href="https://swiss.social/tags/HTML" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>HTML</span></a> and <a href="https://swiss.social/tags/Markup" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Markup</span></a> - and I love it! 🥰</p>
Tyler Sticka<p>I’m fortunate to have worked with a lot of amazing designers over the years. Some were curious about designing in the browser with basic <a href="https://social.lol/tags/HTML" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>HTML</span></a> and <a href="https://social.lol/tags/CSS" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>CSS</span></a>, but weren’t sure where to begin, or felt discouraged by a lot of developer-centric content.</p><p>This is the advice I gave that seemed to resonate most: <a href="https://cloudfour.com/thinks/designing-in-the-browser-five-tips-for-beginners/" rel="nofollow noopener noreferrer" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">cloudfour.com/thinks/designing</span><span class="invisible">-in-the-browser-five-tips-for-beginners/</span></a></p><p><a href="https://social.lol/tags/WebDesign" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>WebDesign</span></a> <a href="https://social.lol/tags/DesignProcess" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>DesignProcess</span></a></p>
Drupal Developer Days<p>💡 Take a deep dive into the DOM manipulation and HTML parsing capabilities of PHP in a Keynote session at <a href="https://drupal.community/tags/DrupalDevDays" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>DrupalDevDays</span></a> by Niels Dossche. 🔜</p><p><a href="https://drupal.community/tags/DDD25" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>DDD25</span></a> <a href="https://drupal.community/tags/PHP" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>PHP</span></a> <a href="https://drupal.community/tags/HTML" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>HTML</span></a> <a href="https://drupal.community/tags/OpenSource" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>OpenSource</span></a> <a href="https://drupal.community/tags/Tech" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Tech</span></a></p>
CSS by T. Afif :verified:<p>And here is the code to generate any polygon shape with rounded corners!</p><p><a href="https://css-tip.com/rounded-polygon/" rel="nofollow noopener noreferrer" translate="no" target="_blank"><span class="invisible">https://</span><span class="">css-tip.com/rounded-polygon/</span><span class="invisible"></span></a></p><p>Update the variables then get your code (There is another variation using CSS variables as well).</p><p><a href="https://front-end.social/tags/CSS" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>CSS</span></a> <a href="https://front-end.social/tags/HTML" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>HTML</span></a></p>
Terence Eden<p>Yet more HTML brainteasers for you to argue over!</p><p>How do you feel about newlines in attribute values?</p><p>For example:<br>`&lt;img alt="A kitten.<br>A puppy."&gt;`</p><p>Or:<br>`&lt;div class="cat<br>dog<br>horse"&gt;`</p><p>Is there ever a time when a newline *must not* be replaced by a space? </p><p><a href="https://mastodon.social/tags/WebDev" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>WebDev</span></a> <a href="https://mastodon.social/tags/CSS" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>CSS</span></a> <a href="https://mastodon.social/tags/HTML" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>HTML</span></a></p>
Philip Kaludercic<p>Neat (but slow): The following snippet will instruct Org-mode to generate MathML when exporting LaTeX-snippets to HTML using <a href="https://math.nist.gov/~BMiller/LaTeXML/" rel="nofollow noopener noreferrer" target="_blank">LaTeXML</a>:</p><pre><code>(setopt org-latex-to-html-convert-command "latexmlc literal:%i --profile=math 2&gt;/dev/null" org-html-with-latex 'html) </code></pre><p>You can adjust it to load additional packages by adding <code>--preload=</code> flags.</p><p><a href="https://commenting.onthe.incoherenceofthe.net/tags/emacs" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>emacs</span></a> <a href="https://commenting.onthe.incoherenceofthe.net/tags/org" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>org</span></a> <a href="https://commenting.onthe.incoherenceofthe.net/tags/latex" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>latex</span></a> <a href="https://commenting.onthe.incoherenceofthe.net/tags/html" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>html</span></a></p>
Terence Eden<p>If you're an <a href="https://mastodon.social/tags/HTML" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>HTML</span></a> nerd, I would love your help.</p><p>I've released a new Pretty-Printer for PHP 8.4's Dom\HTMLDocument class.</p><p>Could you please go to <a href="https://shkspr.mobi/blog/random" rel="nofollow noopener noreferrer" translate="no" target="_blank"><span class="invisible">https://</span><span class="">shkspr.mobi/blog/random</span><span class="invisible"></span></a> and hit view source in your browser. </p><p>Does everything look OK? Anything weird? It should all be formatted nicely.</p><p>THANKS!</p>
Hacker News 50<p>Herb: Powerful and seamless HTML-aware ERB parsing and tooling</p><p>Link: <a href="https://herb-tools.dev/" rel="nofollow noopener noreferrer" translate="no" target="_blank"><span class="invisible">https://</span><span class="">herb-tools.dev/</span><span class="invisible"></span></a><br>Discussion: <a href="https://news.ycombinator.com/item?id=43704853" rel="nofollow noopener noreferrer" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">news.ycombinator.com/item?id=4</span><span class="invisible">3704853</span></a></p><p><a href="https://social.lansky.name/tags/html" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>html</span></a></p>
Danny Blue<p>Noctua Technology and myself just release v1 of our web component implementation of the USWDS. I have been wanting to do this for a long time and i hope to contribute more back to the core project.</p><p><a href="https://uswds.noctuatech.com/" rel="nofollow noopener noreferrer" translate="no" target="_blank"><span class="invisible">https://</span><span class="">uswds.noctuatech.com/</span><span class="invisible"></span></a><br><a href="https://github.com/Noctua-Technology/uswds" rel="nofollow noopener noreferrer" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">github.com/Noctua-Technology/u</span><span class="invisible">swds</span></a></p><p><a href="https://indieweb.social/tags/webcomponents" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>webcomponents</span></a> <a href="https://indieweb.social/tags/html" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>html</span></a> <a href="https://indieweb.social/tags/javascript" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>javascript</span></a></p>
Terence Eden<p>OK! I am now *moderately* confident that my <a href="https://mastodon.social/tags/HTML" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>HTML</span></a> Pretty Printer works. So I'm looking for feedback 🙂 </p><p>Here's how you can help:</p><p>1. Visit <a href="https://shkspr.mobi/blog/random" rel="nofollow noopener noreferrer" translate="no" target="_blank"><span class="invisible">https://</span><span class="">shkspr.mobi/blog/random</span><span class="invisible"></span></a> and view the source. Let me know if it looks weird please!<br>2. Contribute test cases either at <a href="https://gitlab.com/edent/pretty-print-html-using-php/" rel="nofollow noopener noreferrer" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">gitlab.com/edent/pretty-print-</span><span class="invisible">html-using-php/</span></a> or by sending me some complicated HTML.<br>3. Tell me how useful you think this is.</p><p>THANKS GANG!</p>
CSS by T. Afif :verified:<p>💡 CSS Tip!</p><p>Shapes with rounded corners are a nightmare in CSS but it's now easy with the new shape() function! 🥳</p><p>Let's start with a classic: The Hexagon</p><p><a href="https://css-tip.com/rounded-hexagon/" rel="nofollow noopener noreferrer" translate="no" target="_blank"><span class="invisible">https://</span><span class="">css-tip.com/rounded-hexagon/</span><span class="invisible"></span></a></p><p>Yes, you can animate the radius and rotate the shape. Modern CSS is cool!</p><p>Do you want another polygon shape? I am cooking a generic code to create all of them.</p><p><a href="https://front-end.social/tags/CSS" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>CSS</span></a> <a href="https://front-end.social/tags/HTML" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>HTML</span></a></p>
Kevin Karhan :verified:<p><span class="h-card" translate="no"><a href="https://mastodon.social/@olafurw" class="u-url mention" rel="nofollow noopener noreferrer" target="_blank">@<span>olafurw</span></a></span> not necessarily...</p><ul><li>Some langugauges get interpreted directly (<a href="https://infosec.space/tags/HTML" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>HTML</span></a>, <a href="https://infosec.space/tags/JS" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>JS</span></a>), some use bytecode (<a href="https://infosec.space/tags/Java" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Java</span></a>) and some compile directly to target hardware+dependencies (<a href="https://infosec.space/tags/C" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>C</span></a>, <a href="https://infosec.space/tags/asm" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>asm</span></a>, <a href="https://infosec.space/tags/Rust" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Rust</span></a>)…</li></ul>
Rafael<p>Prismic.io has published a collection of lists for many types of css/javascript/svg driven animations to enhance your web apps' user experience. Each example includes real-world use cases and clear code examples in the appropriate languages.</p><p>The collection includes:</p><p>1. Text Animations<br>2. Hover Effects<br>3. Button Animations<br>4. Background Effects, and<br>5. Image Effects</p><p>"CSS Animation Collection: 150+ Examples &amp; Code"</p><p><a href="https://prismic.io/guides/css-animations" rel="nofollow noopener noreferrer" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">prismic.io/guides/css-animatio</span><span class="invisible">ns</span></a></p><p><a href="https://mastodon.social/tags/programming" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>programming</span></a> <a href="https://mastodon.social/tags/css" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>css</span></a> <a href="https://mastodon.social/tags/javascript" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>javascript</span></a> <a href="https://mastodon.social/tags/svg" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>svg</span></a> <a href="https://mastodon.social/tags/html" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>html</span></a> <a href="https://mastodon.social/tags/webdev" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>webdev</span></a></p>
CSS Basics<p>Create an <a href="https://hachyderm.io/tags/HTML" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>HTML</span></a> dialog when you click an image: "So, I worked some HTML &lt;dialog&gt; magic and set it up so that as I add images to a post, you can click on them and see them a bit bigger in a pop up!" <a href="https://cassidoo.co/post/html-dialog-on-image-click/" rel="nofollow noopener noreferrer" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">cassidoo.co/post/html-dialog-o</span><span class="invisible">n-image-click/</span></a></p>
Reilly Spitzfaden (they/them)<p>I love looking at people's website source code, especially when I stumble across cool things like this:</p><p>view-source:<a href="https://www.write-on.org/" rel="nofollow noopener noreferrer" translate="no" target="_blank"><span class="invisible">https://www.</span><span class="">write-on.org/</span><span class="invisible"></span></a></p><p><a href="https://hachyderm.io/tags/ASCII" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>ASCII</span></a> <a href="https://hachyderm.io/tags/ASCIIArt" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>ASCIIArt</span></a> <a href="https://hachyderm.io/tags/WebDev" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>WebDev</span></a> <a href="https://hachyderm.io/tags/HTML" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>HTML</span></a> <a href="https://hachyderm.io/tags/CSS" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>CSS</span></a></p>
CSS by T. Afif :verified:<p>If you don't know, my CSS Tip website is open to advertisers. Don't miss the opportunity to promote your product and support my work!</p><p>Reach a wide audience of passionate web developers (~14.000 active users per month) starting from 150$/month.</p><p><a href="https://css-tip.com/advertise/" rel="nofollow noopener noreferrer" translate="no" target="_blank"><span class="invisible">https://</span><span class="">css-tip.com/advertise/</span><span class="invisible"></span></a></p><p><a href="https://front-end.social/tags/CSS" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>CSS</span></a> <a href="https://front-end.social/tags/HTML" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>HTML</span></a></p>
Aral Balkan<p>New Kitten release</p><p>• Fix: messages that are promises are properly awaited before being sent.</p><p><a href="https://kitten.small-web.org" rel="nofollow noopener noreferrer" translate="no" target="_blank"><span class="invisible">https://</span><span class="">kitten.small-web.org</span><span class="invisible"></span></a></p><p>Kitten automatically and transparently handles asynchronous content in your templates for you so you don’t have to worry about it. One place where this wasn’t working properly is if you addressed `this.component` to stream a custom update of your component manually instead of calling the `this.update()` method of Kitten component instances.</p><p>e.g.,</p><p>```js<br>export default class AdminPage extends kitten.Page {<br> // …<br> onSelectedPost (data) {<br> this.send(kitten.html`&lt;${this.component} postId='${data.selectedPost.postId}' /&gt;`)<br> }<br>}<br>```</p><p>:kitten:💕</p><p><a href="https://mastodon.ar.al/tags/Kitten" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Kitten</span></a> <a href="https://mastodon.ar.al/tags/SmallWeb" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>SmallWeb</span></a> <a href="https://mastodon.ar.al/tags/SmallTech" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>SmallTech</span></a> <a href="https://mastodon.ar.al/tags/news" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>news</span></a> <a href="https://mastodon.ar.al/tags/updates" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>updates</span></a> <a href="https://mastodon.ar.al/tags/promises" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>promises</span></a> <a href="https://mastodon.ar.al/tags/StreamingHTML" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>StreamingHTML</span></a> <a href="https://mastodon.ar.al/tags/web" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>web</span></a> <a href="https://mastodon.ar.al/tags/dev" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>dev</span></a> <a href="https://mastodon.ar.al/tags/HTML" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>HTML</span></a> <a href="https://mastodon.ar.al/tags/CSS" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>CSS</span></a> <a href="https://mastodon.ar.al/tags/JavaScript" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>JavaScript</span></a></p>