HTML Tips

Try these camera inputs. Will work on mobiles only.



<input accept="audio/*" capture="user" id="vsjsound" type="file" />


<input accept="video/*" capture="environment" id="vssjvideo" type="file" />


<input accept="image/*" capture="user" id="vsjimage" type="file" />


<input accept="image/*" capture="environment" id="vsjback" type="file" />

More on the topic


Datalist Demo


<div style="background-color:grey;padding:10px;"> <h1>Datalist Demo</h1> <label for="languages">Choose your language</label> <input style="border-style: ridge; border-width: 2px; box-shadow: blue 0px 4px 8px 0px; overflow: auto; padding: 2px;" list="languages"> <datalist id="languages"> <option value="Python"> <option value="Java"> <option value="C#"> <option value="C++"> <option value="C"> </datalist> </div>

Text Overflow

Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.

<style> .vsjoverflow { white-space:nowrap; overflow:hidden; text-overflow:ellipsis; } </style> <label>Example</label> <div class="vsjoverflow" style="height: 200px; width: 200px;"> Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum. </div> </div>

Image Reflection


 

Post a Comment

0 Comments

Me