Warping a control from attached example - html

Can anyone please show me how to create a design box like in the attached linked
I have the control that actually uploading the files but I want the design that warping it.
Upload Files to Azure

Download the demos site from your Telerik account and examine the code. There are a couple of CSS classes used and an image. The dev toolbar of the browser can tell you the rest.

Related

I am developing a webpage on codepen and would like to include an image stored on my device on my webpage. What do I put as the image source?

The image is in a folder "more" which is in a folder "Pictures" which is in "My PC".
Hello and welcome to StackOverflow!
You would need to upload this picture to Codepen, so Codepen can actually access this picture even if your Computer is shut down. Unfortunately, this is a pro feature (bottom-left corner -> "Assets")
Using a free Webspace:
However, there are many websites online that provide a free webspace, where you can upload your html, css, images, php files and more and often you also get your own subdomain (like mywebsite.webhost.com).
From the top of my head I only know bplaced.net but feel free to search around.
Using an image hoster:
If you want to stay with Codepen and the nice IDE you can look out for an Image Hoster where you can upload your file and get a direct link to the image which you can then use on your codepen.
You can download xampp or wampp (if you are on windows) or there are plugins for VSCode to mimic a quck http server. You can do everything on your machine.
You can upload files in your system to codepen in assests (pro feature). or you can use their own free design asstes

Lord icon not rendering in browser

I am trying to use lordicon in my website, I added it successfully as gif and png. but i need to make it animate on hover only, I used its editor and download it as JSON and added this code in my html page:
<lord-icon src="/627-brezel-outline.json" animation="hover"></lord-icon>
but nothing show in the browser. Can you help me please.
Did you include the project files of the GitHub repository? There are some implementation examples in there. An easier way is just to embed the HTML code with the settings you want from their website! Is the easiest way in fact!
Just select an icon, choose your settings and in the download window, instead of downloading a file, select "EMBED HTML".

Extract only used css classes from css file

I'm working on an upgrade for our current application (asp.net mvc). Here my problem is, I have a existing css file name "styles.css". Now this file has lots of css classes and they are used in different pages.
Now as a part of the upgrade process, this css file will not be used anymore. But I still want certain css classes from this file, so that I can copy them to a new file and include it in my pages.
Any ideas on how to extract these styles which are used in my new pages. And yes the styles which I want to pick are already set to the controls in the page. Please help.
Finding ones that are used in single page should be easy with multiple tools. One good tool is called UnCSS.
The trick is checking an entire site where CSS file is shared accross pages.
This approach was popular in social networks recently with some high profile guys sharing it like Google's Addy Osmani and some Google Chrome guys:
http://addyosmani.com/blog/removing-unused-css/
Use Chrometools Audits
In Chrome Press: F12 -> Audits -> Run
It will let you know what is and is not used.
There are a lot of ways, for example:
Firefox plugin, this will extract the used css
https://addons.mozilla.org/en-US/firefox/addon/dust-me-selectors/
for chrome
https://chrome.google.com/webstore/detail/css-remove-and-combine/cdfmaaeapjmacolkojefhfollmphonoh?hl=en-GB
Manually: another way in the chrome (or other browsers), right click and select inspect element, this will show you the hierarchis which is working on specific element, by that you can take your used css
You can find the unsed css from the following tool, so that you can clean your css to have pure one
http://unused-css.com/
or
http://www.pontikis.net/blog/remove-unused-css
Use a Browser Debugger, click on the elements on site and see on the right corner which classes are machtes and copy them.

WYSIWYG Editor with image upload

I have been looking for a WYSIWYG editor to add into my own built CMS. I have come accross Nicedit, which is fantastic however, i cannot seem to upload an image and resize it.
Does anyone have any idea how i can do this?
Don't forget to add this code on your page, without it you will not be able to do so
Also you have to change the configuration of the editor and make it upload to a specific location on your server or other remote servers
http://wiki.nicedit.com/w/page/515/Configuration%20Options

Is it possible to save changes in Firebug locally?

What I'm trying to do is to save the changes I make to CSS and HTML on different sites with Firebug.
Just to be clear, I don't expect Firebug to upload the changes to the server via FTP or anything. I just want to save the changes locally, so only I will be able to see them.
For example I've seen a few Firefox/Chrome extensions that add a download button under every video on Youtube, so I know it's possible to do that somehow.
If you have a different way to achieve what I'm trying to do, I'll be glad to hear about it.
(It doesn't have to be with Firebug.)
Thanks in advance!
If you don't mind using Web Developer Toolbar it's easy to save changes made to the DOM (and CSS).
When you install the toolbar, you'll get a "View Source" menu, click on that and choose "View generated source". Then just copy and paste that into a .html file.
You did not say if you alter your HTML or CSS, if CSS, FireFile is a very good addon for this.
Edit, with some Googling, i found FireDiff, which states that it can export changes made in Firebug, i have not tested it bit it's worth checking out.
You could try using Greasemonkey.
It has support for adding custom scripts that are run whenever you load a page (linked to which pages it should load on) and that can make changes to the page dynamically.
https://addons.mozilla.org/en-US/firefox/addon/greasemonkey/
The http://chrispederick.com/work/web-developer/ web developer toolbar will let you add a user style sheet to a site which should achieve your goals.
This may or may not be exactly what you're asking for, but you can download the extension FireDiff in order to save changes made with FireBug. I made a little tutorial on how to do it here: https://www.youtube.com/watch?v=m4OmZLX2zd4
I have a somewhat simlar use-case that I solved differently. I'm not sure if it is what you are looking for or not. I'll describe the behavior and if that is helpful I'll explain exactly how I implemented it.
I changed the code that execute when you click "Run" (or Ctrl+Enter) to check to see if the first line of the code is a hard-coded string //LoadFromFile:<file path>. If it is, and the file exists then I pull the file off of the local file system and run it instead of executing the code in the console window. This way I can use an external text editor to write code.