Quantcast
Channel: Questions in topic: "css"
Browsing all 78 articles
Browse latest View live
↧

Untentional CSS property padding-left: 15px on code tags?

Looks like the `` tag is unintentionally using `padding-left: 15px`. **How things look:** ![Incorrect padding on code snippets][1] **How things should look:** ![Correct padding on code snippets][2] ---...

View Article


Correction of input position after scaling of WebGL canvas in css

I already saw this issue described on this forum, but unfortunately did not find an answer yet (especially [here][1] question from @Charles-Van-Norman) The final rendering of my WebGL canvas in...

View Article


Scale Unity WebGL Canvas to fit browser window

Hi dear community. I recently updated to Unity 5.6. For WebGL a lot of things have changed since 5.4. I wanted to know how to automatically adjust the game canvas to fill the whole browser window. I...

View Article

[Unity Answers] Inline Code has incorrect padding-left attribute

This Meta post refers to the question unity answers questions form: answers.unity3d.com/questions/ask.html -------------------------- When using inline code via backticks, the inline code incorrectly...

View Article

WebGL on LG Smart TV

Hi, currently I'm developing app for LG Smart TV and I see no build options in Unity (Samsung Smart TV not working). In LG website I see only possibility to crate app in HTML5/CSS/JS. I was wondering...

View Article


Documentation for Asset Store

I have C # scripts in my package, I know I need to create the documentation for my code. Can I create the documentation not in HTML? Can I create css and js scripts from docs.untiy3d.com?

View Article

Scale WebGL cavas to browser window size

I'm trying to scale Unity WebGL content based on the contents of the window. I could manage this on Unity 5.5.4, with the following HTML. * { margin: 0; padding: 0; } canvas { width: 100%; height:...

View Article

How to add post from wordpress in unity?

Hello everyone! I'm trying to take a section from wordpress website and add it in my unity app. I have used Wp Rest API for catch the url of the post in the website, after that i download the file json...

View Article


Extend WebGL Canvas to fit browser window with respect to the game's aspect...

Hi dear community, I'd like to automatically adjust the game canvas to fill the current browser window with respect to game's aspect ratio. Default canvas width is set to 720px and default canvas...

View Article


Delaying WebGL player loading until user input

Hey there! I'm trying to stop WebGL builds from loading as soon as the website loads. What I want is for the user to have to click on the player area to load the game. The closest solution I could find...

View Article

How to make transparent background of body when move cursor to the drop down...

just like amazon did.,

View Article

Communication between WebGL and .jslib

As mentioned in the doc [here][1] Is there any way to communicate between the .jslib script and the .html of the WebGL build? How do i reference from the script to the .html file? [1]:...

View Article

How to use U.I.Elements/ U.I.Builder to access bools/toggles?

Hello, and thank you. I have 3 main questions regarding U.I. Elements/ U.I. Builder. --- 1. Am I correct in thinking that the new U.I. Builder window can be used to expand the Editor/Inspector? 2. If...

View Article


WEBGL Loading bar not showing on Microsoft Edge Unity 2020.1

Hi! I tried my WEBGL Project for the first time on Microsoft Edge, and it looks like the loading bar isn't showing the download progression. Here is the code generated by the Webgl Template of Unity...

View Article

Scaling Unity WebGL Canvas causes a bad performance

Hello. I'm scaling WebGL canvas according to the size of the browser window as below. This works well as I want, but the game performance becomes quite bad when the canvas is big, especially when...

View Article


In WebGL, is it possible to make UI Coordinate scale with CSS style?

Hello, I am using Unity 2021.1.28, built to WebGL. What I was trying to do, is to (A) force the render resolution of my WebGL build to be 1280x720, while (B) scaling it to be displayed fullscreen in...

View Article

How to convert UI Document made in UI Builder to HMTL?

I am making a UI Document and then I need to generate HTML code from it so that I can embed it on a website. Help, please? ![alt text][1] [1]: /storage/temp/194377-screenshot-from-2022-03-23-21-19-40.png

View Article


Does UI Toolkit support css media queries?

I am trying to use an [@media][1] query for screen width to apply different styles for different screen sizes, but it doesn't appear to be working. I've written the following directly in the style...

View Article
Browsing all 78 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>