<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Tobias Röder</title>
    <description>The latest articles on DEV Community by Tobias Röder (@tobiasroeder).</description>
    <link>https://dev.to/tobiasroeder</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F304392%2F3f02f8a5-619f-4402-8f84-2904a4c64ad8.png</url>
      <title>DEV Community: Tobias Röder</title>
      <link>https://dev.to/tobiasroeder</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/tobiasroeder"/>
    <language>en</language>
    <item>
      <title>Mockups</title>
      <dc:creator>Tobias Röder</dc:creator>
      <pubDate>Fri, 16 Oct 2020 20:27:21 +0000</pubDate>
      <link>https://dev.to/tobiasroeder/mockups-4jpo</link>
      <guid>https://dev.to/tobiasroeder/mockups-4jpo</guid>
      <description>&lt;p&gt;Today I want to share three cool free mockup websites.&lt;/p&gt;

&lt;h2&gt;
  
  
  1. mockup.photos
&lt;/h2&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s---otUYrsI--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/i/nyiifzepydtc7rkomen7.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s---otUYrsI--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/i/nyiifzepydtc7rkomen7.png" alt="Alt Text" width="800" height="450"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;On this Site you can simply create mockups for a lot of different cases. And you can't pay for mockups, you only have to create an account.&lt;br&gt;
&lt;a href="https://mockup.photos"&gt;Go to Website&lt;/a&gt;&lt;/p&gt;




&lt;h2&gt;
  
  
  2. smartmockups.com
&lt;/h2&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--aEdOTNRN--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/i/eap16b12lzrt4kfomz0v.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--aEdOTNRN--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/i/eap16b12lzrt4kfomz0v.png" alt="Alt Text" width="800" height="450"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Here you can create mockups easy as well, without creating an account. The common basic mockups are for free. But there are also premium (paid) mockups too.&lt;br&gt;
&lt;a href="https://smartmockups.com"&gt;Go to Website&lt;/a&gt;&lt;/p&gt;




&lt;h2&gt;
  
  
  3. mockuphone.com
&lt;/h2&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--gLWqDWpK--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/i/09gyq9z07zc78in8j5qj.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--gLWqDWpK--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/i/09gyq9z07zc78in8j5qj.png" alt="Alt Text" width="800" height="450"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;For those how only want to create phone/device mockups with transparent background, this website is perfect for you.&lt;br&gt;
&lt;a href="https://mockuphone.com"&gt;Go to Website&lt;/a&gt;&lt;/p&gt;

</description>
      <category>mockup</category>
      <category>smartphone</category>
      <category>app</category>
    </item>
    <item>
      <title>PHP localhost everywhere on macOS</title>
      <dc:creator>Tobias Röder</dc:creator>
      <pubDate>Wed, 04 Mar 2020 19:13:47 +0000</pubDate>
      <link>https://dev.to/tobiasroeder/php-localhost-everywhere-on-macos-1946</link>
      <guid>https://dev.to/tobiasroeder/php-localhost-everywhere-on-macos-1946</guid>
      <description>&lt;p&gt;Als ich mal nach irgendwelchen Browser Erweiterungen suchte um kurz mal eine PHP Datei auf dem Desktop zu testen, wurde ich nicht wirklich fündig. Jedoch ist dies einfacher den je. Und zwar mit einem einfachen Befehl im Terminal:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;php -S localhost:3000 -t /rootpath/to/your/folder/
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Das ganze hat mehrere Vorteile. Der Port kann selbst bestimmt werden, es können mehrere localhosts gleichzeitig genutzt werden und man hat im Terminal so etwas wie eine log Datei.&lt;/p&gt;

&lt;p&gt;Ich hoffe, ich konnte weiterhelfen und über Feedback würde ich mich sehr freuen.&lt;/p&gt;

</description>
      <category>php</category>
      <category>localhost</category>
      <category>terminal</category>
      <category>macos</category>
    </item>
    <item>
      <title>Mobile Phones 100vh issue</title>
      <dc:creator>Tobias Röder</dc:creator>
      <pubDate>Tue, 25 Feb 2020 20:41:32 +0000</pubDate>
      <link>https://dev.to/tobiasroeder/mobile-phones-100vh-issue-2cnk</link>
      <guid>https://dev.to/tobiasroeder/mobile-phones-100vh-issue-2cnk</guid>
      <description>&lt;h3&gt;
  
  
  In diesem Blog wird kurz erklärt, wie man auf dem Smartphone das 100vh Problem lösen kann.
&lt;/h3&gt;

&lt;p&gt;&lt;iframe height="600" src="https://codepen.io/tobiasroeder/embed/ExjWPEV?height=600&amp;amp;default-tab=result&amp;amp;embed-version=2"&gt;
&lt;/iframe&gt;
&lt;/p&gt;

&lt;p&gt;In diesem Codepen Beispiel ist ein Lösungsweg, wie man die '100vh' Höhe in einem mobile Browser mit CSS einstellt.&lt;/p&gt;

&lt;p&gt;Kurz erklärt: das am übergeordnetste &lt;code&gt;div&lt;/code&gt; Element, in diesem Beispiel &lt;code&gt;#app&lt;/code&gt;, wird mit der Hilfe von &lt;code&gt;position: absolute&lt;/code&gt; und &lt;code&gt;top: 0; right: 0; bottom: 0; left: 0;&lt;/code&gt; auf die komplette Größe in der Breite als auch in der Höhe der Browsers gesetzt. Das ist wie die Höhe auf &lt;code&gt;100%&lt;/code&gt; zu setzten.&lt;/p&gt;

</description>
      <category>css</category>
      <category>html</category>
    </item>
    <item>
      <title>iPhone Safari – fixed background image</title>
      <dc:creator>Tobias Röder</dc:creator>
      <pubDate>Wed, 08 Jan 2020 10:18:39 +0000</pubDate>
      <link>https://dev.to/tobiasroeder/iphone-safari-fixed-background-image-d3p</link>
      <guid>https://dev.to/tobiasroeder/iphone-safari-fixed-background-image-d3p</guid>
      <description>&lt;h3&gt;
  
  
  In this blog post I will explain how to make your background image fixed in the Safari browser on an iPhone
&lt;/h3&gt;

&lt;p&gt;&lt;iframe height="600" src="https://codepen.io/tobiasroeder/embed/GRgMpVy?height=600&amp;amp;default-tab=result&amp;amp;embed-version=2"&gt;
&lt;/iframe&gt;
&lt;/p&gt;

&lt;p&gt;In this Codepen example you'll find a solution how to make the background image fixed in the Safari browser on an iPhone only with CSS.&lt;/p&gt;

&lt;p&gt;Shortly explained: for the background image we'll be using an &lt;code&gt;&amp;lt;img&amp;gt;&lt;/code&gt;, fixing it with the help of &lt;code&gt;postition: fixed&lt;/code&gt; and to ensure to be behind the default level we'll set &lt;code&gt;z-index: -1&lt;/code&gt;. With the help of &lt;code&gt;top: 0&lt;/code&gt;, &lt;code&gt;right: 0&lt;/code&gt;, &lt;code&gt;bottom: 0&lt;/code&gt; and &lt;code&gt;left: 0&lt;/code&gt; we say the image thanks to the &lt;code&gt;postition: fixed&lt;/code&gt; that it has to be full screen. For more legacy support I will not use the new &lt;code&gt;inset: 0&lt;/code&gt;. To make sure that the image will be the full background, we need so set the with and the height to &lt;code&gt;100%&lt;/code&gt;.For that it is required to use &lt;code&gt;display: block&lt;/code&gt; because the &lt;code&gt;&amp;lt;img&amp;gt;&lt;/code&gt; is not a block element by nature. Last but not least we set the &lt;code&gt;object-fit: cover&lt;/code&gt; to get the typical unstretched full size background image.&lt;/p&gt;

</description>
      <category>ios</category>
      <category>safari</category>
      <category>css</category>
    </item>
  </channel>
</rss>
